Home Cart [Log In] About Us Contact Us

Object Reference

xf_ControlsControl Related

Public Sub TaggedControlsMove (
f As Object,
TagStr As String,
DoMove As Boolean,
AnchorControl As Control

Move all the controls with a tag matching the one passed.
An invisible box is drawn around the controls, and an invisible 'Anchor' control is used to place the top left of the invisible box.
Because of this, the move can be repeated with no adverse effects.
Usually used to move a block of controls down if a second block is visible.

f as Object

The form containing the controls

TagStr as String

The tag to match

DoMove as Boolean

If False, exit the procedure immediately (designed so a status variable can be passed)

AnchorControl as Control

The control to align the to left of the moved controls to

Call Template:

xf.Controls.TaggedControlsMove f, TagStr, DoMove, AnchorControl

See Also:

Example 1:

TaggedControlsAction Me, "tgDateRangeComplete", True, txtAnchor1
Contact Us :: About Us :: Policies :: email: infspamo@arrospamw-of-tispamme.com    © 2012 Arrow Of Time Pty Ltd