Private Sub ControlAction(c As Control, Action As xf_ControlActionEnum, FlagValue As Boolean, Optional BGColour As Long = -1, Optional SetFocusTo As Control = Nothing, Optional SuppressErrors As Boolean = False)
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
xf_DataList
xf_Controls