VLFormDesigner Reference

EventRubberBandEnd

See Also See Also Applies To Applies To

This event occurs when mouse left button is released at the end of drag and draw operation in draw or select mode of the form designer control.

 

Syntax

Private Sub object_RubberBandEnd(ByVal X As Single, ByVal Y As Single, ByVal CX As Single, ByVal CY As Single)

 

The RubberBandEnd event syntax has these parts:

Part Description
object An object expression that evaluates to VLFormDesigner.
X Distance of the left edge of the rubber banding rectangle from the left edge of the form designer control, in current scalemode.
Y Distance of the top edge of the rubber banding rectangle from the top edge of the form designer control, in current scalemode.
CX Width of the rubber banding rectangle, in current scalemode.
CY Height of the rubber banding rectangle, in current scalemode.

 

Remark

In draw mode, this method is typically used to add a new control of the size of the rubber banding rectangle on the form designer.