Home Cart [Log In] About Us Contact Us

Object Reference

xf_ControlsControl Related

Public Function FindControlParentForm (
c As Control
) As Form

Return the control's parent form.
The control's direct parent may be tab group etc so go up the tree until we find a form

c as Control

The control

Call Template:

Dim obj As New Form
Set obj = xf.Controls.FindControlParentForm(c)

See Also:

Example 1:

Dim f as Form
Set f = FindControlParentForm(txtDate)
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd