Description: ActiveWindow returns the object value of the root module instance in the current active window.
Returns: Object value
Usage: Script or steady state.
Format: ActiveWindow( )
Parameters: None
Comments: Child windows (those with bit 9 set in their Window call) are not recognized as separate entities; clicking on a child window returns the object value of the root module in its parent window. This is not true for owned windows (those with bit 15 set in their Window call), which return the object value of the root module instance in the window.
Example:
object = ActiveWindow();
See Also:
ActiveCode | ActiveWindow | ActiveState | CurrentWindow | Window