Home Cart [Log In] About Us Contact Us

Object Reference

xf_ControlsControl Related

Public Function TrySetFocus (
c As Control
) As Boolean

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.

c as Control

The control

Call Template:

Dim b As Boolean
b = xf.Controls.TrySetFocus(c)

See Also:

Example 1:

TrySetFocus txtDate
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd