Home Cart [Log In] About Us Contact Us

Object Reference

xf_ControlsControl Related

Public Function GetFirstVisibleControl (
f As Form
) As Control

Get the control on the form with the lowest tab index.
Control must be visible, have a tab stop, and be enabled.

f as Form

The target form

Call Template:

Dim obj As New Control
Set obj = xf.Controls.GetFirstVisibleControl(f)

See Also:

Example 1:

Set c = GetFirstVisibleControl(Me)
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd