Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 752 Bytes

File metadata and controls

32 lines (22 loc) · 752 Bytes

keywords: Task Properties, Interface Tab, Close task window

Name in migrated code: KeepViewVisibleAfterExit
Location in migrated code: OnLoad

Close Task Window

Migrated Code Example

protected override void OnLoad()
{
+    KeepViewVisibleAfterExit = true;
}

Condition as an expression:

protected override void OnLoad()
{
+     BindKeepViewVisibleAfterExit(() => !(ENV.Security.UserManager.CurrentUser.Name == "SUPERVISOR"));
}

Property Values

True or false. The default is True which is Close task window = Yes in Magic

See Also

UIController KeepViewVisibleAfterExit