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