VLFormDesigner Reference

EventControlSelected

See Also See Also Applies To Applies To

This event occurs when a contained control is selected. The event will be fired for selection caused by user action as well by the programmer using SelectControl method.

 

Syntax

Private Sub object_ControlSelected (aControl As Object)

 

The ControlSelected event syntax has these parts:

Part Description
object An object expression that evaluates to VLFormDesigner.
aControl An object expression that evaluates to the control which has been marked as selected.

 

Remark

This event is fired in lieu of the the MouseDown and MouseUp event of the control being selected. The event will be fired only when the form designer is in Select mode.