Logo
Home Cart [Log In] About Us Contact Us

Object Reference

xf_ControlsControl Related

Public Sub DisableControl (
c As Control,
EnableState As Boolean,
SetFocusTo As Control,
Optional SuppressError As Boolean = False
)

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

c as Control

The control

EnableState as Boolean

True to enable, False to disable

SetFocusTo as Control

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

Optional SuppressError as Boolean = False

(no description)

Call Template:

xf.Controls.DisableControl c, EnableState, SetFocusTo
xf.Controls.DisableControl c, EnableState, SetFocusTo, SuppressError

See Also:

Example 1:

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