2.6 .active
Defines whether the object is active, i.e. ready to accept input.
Definition
-
Data type
boolean
-
Access
get, set
-
changed event
yes
This attribute can be used to define and query the Application object to determine whether the application is currently running. Changing this attribute from false to true starts the application. Changing this attribute from true to false terminates the application.
The Attribute .active defines, if the editable text has a focus.
For a notepage, .active = true for the page that is currently the topmost notepage; for all other notepages, .active = false. This means that this attribute can only have the value true for one notepage at a time.
The notepage label of this notepage is stored in the .activeobject attribute of the notebook.
Activation state of an OLE object.
OLE controls can be activated or deactivated using the .active attribute.
This attribute can be used to define and query whether the Timer is currently running. Changing this attribute from false to true starts the timer. Changing this attribute from true to false resets the timer and is no longer active.
For an image, .style = checkbox determines whether the object is displayed as active (pressed) or inactive, or it can read the object's current state. In conjunction with .picture[enum], the currently displayed tile resource can be determined.
.style = menubox , the object is active when the context menu is open.
For a menuitem with .style = checkbox, the active attribute determines whether the menu item is enabled (check mark is visible) or not. In .style = radiobutton, only the value true for enabled is allowed; however, both states (enabled or disabled) can be read.
To activate input mode by the application, the tablefield object provides the indexed (.active[I,J]) and non-indexed (.active) attributes. Setting the non-indexed .active attribute results in the following behavior:
See also
Attribute .activeitem