ControlContext :: enabled - Enabled property
The property indicates, whether the control is enabled or not. When a control is disabled, it is still visible, but it does not react. i.e. lists cannot scroll and no context menu appears. Usually, disabled controls appear differently from enabled ones.
A State true indicates, that the function was executed successfully. Otherwise state is false .
Implementation overview
- Is control enabled
ControlContext :: enabled (  ) - Change enabled state
ControlContext :: enabled ( bEnable )
Implementation details
-
Is control enabled
bool ControlContext  :: enabled (  )
The function returns, whether the control is enabled ( true ) or not ( false ).
to list
-
Change enabled state
bool ControlContext  :: enabled ( bool bEnable )
The function disables or enables the control. Passing true in bEnable will enable the control. Passing false will disable the control.
Notes:Protected actions that are not permitted currently, cannot be enabled and remain in disabled state.
- bEnable
- Enable resource
In order to enable the referenced resource true should be passed. Passing false will disable the resource.
to list
- bEnable
- Enable resource