Gets or sets the enabled state of the object.
object.Enabled = [boolean]
Where object is an object expression that evaluates to one of the controls in the Applies To list, and boolean is a boolean expression that evaluates to either True or False (default), as described in Settings.
Newlook Smartclient only.
The Enabled property is used to determine whether the form or object can respond to user generated events such as mouse clicks.
When the Enabled property of a control is set to False, there is usually a visual indication that the control is disabled, for instance it will be rendered with the default system color for disabled text (grey). The control does not exhibit any "hot" state when hovered over with a mouse.
Due to the dynamic nature of the HTML, IFrame, GoogleMap, GoogleBarChart and GooglePieChart controls, this property is not supported for these controls in Newlook Server.
The following constants can be used anywhere in macros or scripts in place of the actual values.
If you are retrieving the value of a property or parameter, scripts or macros will return the integer value, whereas Inspector will display the constant equivalent.
When using constants in the script editor, each constant must be prefaced by nl.
The available settings for value for these controls are :
Setting |
Description |
True |
(Default) This object is enabled and can respond to user generated events such as mouse clicks. |
False |
This object is disabled an cannot respond to user generated events. |
Newlook Smartclient
Newlook Server
The Enabled property is used to determine whether the form or object can respond to user generated events such as mouse clicks.
This property allows forms and objects to be enabled or disabled at run-time. For example, you can disable controls depending on the input provided by users. You can also disable a control used purely for display purposes, for example a text box that provides information you do not want the user to edit.
Disabled controls differ from read-only controls in that they cannot be interacted with in any way. A control that has had its ReadOnlyproperty set to True can be interacted with, but it cannot be modified. For example, a user can select the text of a read-only text box, but they cannot change it, whereas the text of a disabled control cannot be selected at all.
When the Enabled property of a control is set to False, there is usually a visual indication that the control is disabled, for instance it will be rendered with the default system color for disabled text (grey). The control does not exhibit any "hot" state when hovered over with a mouse.
The following constants can be used anywhere in macros or scripts in place of the actual values.
If you are retrieving the value of a property or parameter, scripts or macros will return the integer value, whereas Inspector will display the constant equivalent.
When using constants in the script editor, each constant must be prefaced by nl.
The available settings for value for these controls are :
Setting |
Description |
True |
(Default) This object is enabled and can respond to user generated events such as mouse clicks. |
False |
This object is disabled an cannot respond to user generated events. |
Visible property | TabStop property
ScrollBar control
© 2004-2021 looksoftware. All rights reserved.