"isActiveWindow"

The attribute "isActiveWindow"; returns TRUE if this widget is the active window, otherwise FALSE.

Synopsis

getValue(string shape, "isActiveWindow", bool &acWin);

Parameter

Parameter Description
shape Name of the object
acWin Returns TRUE if this widget is the active window, otherwise FALSE.

Description

The attribute "isActiveWindow"; returns TRUE if this widget is the active window, otherwise FALSE.

Example

In the following example TRUE is returned if the textEdit is the active window.

main(bool enter)
{
  string sn = "TEXT_EDIT1";
  bool win;
  getValue(sn,"isActiveWindow",win);
  DebugN("Is this the active window",win);
}

Assignment

TextEdit, Thumb wheel, Progress bar, Tree Widget, Slider, Zoom Navigator, DpTreeView