VLFormDesigner Reference

EventControlMoved

See Also See Also Applies To Applies To

This event occurs when a contained control is moved by the form designer. Typically the form designer will move a control when user selects and moves the control, or when AlignSelectedControls method is called.

The event will be called for each of the control whose position may have been changed.

 

Syntax

Private Sub object_ControlMoved (aControl As Object)

 

The ControlMoved event syntax has these parts:

Part Description
object An object expression that evaluates to VLFormDesigner.
aControl An object expression that evaluates to the control whose position was changed by the form designer.

 

Remark

This method is typically used to update any UI information that might be dependent on the position of the control that was moved (e.g. control position information in a property sheet etc.).