The IsEnabled attribute determines the value of the Enabled expression of the variable.
Syntax | |
IsEnabled | |
Return value | |
Type |
Description |
Boolean |
The value of the Enabled expression |
Remark | |
The attribute is read-only. The value of the enabled expression controls the enabled state for many controls on forms in TCE. |
Example
The variable Color has an enabled expression for the property Enabled, which is switched off in the property list of the variable:
Dim Result As Boolean
Result := Color.IsEnabled
After executing the snipet the variable Result has the value True when the value of the variable ColorPick is True.