Public Function CannotDisableControl(c As Control) As Boolean
Will an error be thrown if this control is disabled ?
State Management of controls (disabling, visibility, etc)
Will an error be thrown if this control is disabled ?
Disable or enable the control. If it has the focus and cannot be disabled, then set the focus to the passed alternate control before disabling
Show or hide the control. If it has the focus and cannot be hidden, then set the focus to the passed alternate control before hiding
Set the toggle control to false if it is disabled
Try to set the focus to the control.
If focus cannot be set (eg. it is disabled or hidden) then ignore the error. Returns True if focus was set successfully.