Take the action on the passed control.
Action_Lock Lock/unlock the control Action_Enable Enable/disable the control Action_Visible Show/hide the control Action_LockDisable Lock and diable/unlock and enable the control Action_LockOrDisable Lock data controls and disable command buttons Action_LockDisableSetBgColor As Action_LockDisable but also set the BackColor Action_SetBgColor Set BackColor Action_SetBorderColor Set BorderColor Action_SetToDefaultVal Set the value to the control's default value
The control
(no description)
The action from the list above
The value indicating whether to emable/disable, etc
The colour value to use when setting colour
The control to set focus to if the target control has the focus and cannot be disabled or hidden
Suppress errors, for example if trying to disable a tagged label (labels do not have an 'enabled' propertly)
ControlAction lstSample, Action_Enable, False ControlAction lstSample, Action_SetBgColor, , 345005