VLFormDesigner Reference

MethodSelectControl

See Also See Also Applies To Applies To

Selects specified control. The control will be redrawn to reflect the new state of contained control.

 

Syntax

object.SelectControl(ByVal aControl As Object)

 

The SelectControl method syntax has these parts:

Part Description
object An object expression that evaluates to VLFormDesigner.
aControl An object expression that evaluates to a contained control.

 

Remark

This method will not have any effect If the specified control is not a contained control or is already selected. The call will just be ignored, no error will be reported.

Please note that all the selected controls are automatically deselected when the form designer is swiched from select to either draw or run mode .