Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_ControlsControl Related

Public Sub HideControl (
c As Control,
VisibleState As Boolean,
SetFocusTo As Control,
Optional SuppressError As Boolean = False
)

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

c as Control

The control

VisibleState as Boolean

True to show, False to hide

SetFocusTo as Control

First set focus to this control if necessary to hide the target control

Optional SuppressError as Boolean = False

(no description)

Call Template:

xf.Controls.HideControl c, VisibleState, SetFocusTo
xf.Controls.HideControl c, VisibleState, SetFocusTo, SuppressError

See Also:

Example 1:

HideControl lstSample, False, txtHeader
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd