AnyWin class.
Tests whether the window is enabled.
bEnableStatus = window.IsEnabled()
Variable | Description |
---|---|
bEnableStatus | TRUE if the window is enabled. BOOLEAN. |
IsEnabled returns TRUE if the window is enabled, or FALSE if it is disabled. When a window is enabled, it is capable of receiving input.
If the OPT_MENU_PICK_BEFORE_GET option is TRUE, you may see menus pop up on the screen when calling IsEnabled on a menu item, even though your code does not explicitly call Pick.
Print(TextEditor.Document.IsEnabled())