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
The control
True to enable, False to disable
First set focus to this control if necessary to disable the target control
(no description)
DisableControl lstSample, False, txtHeader