VLFormDesigner Reference

MethodDeselectControl

See Also See Also Applies To Applies To

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

 

Syntax

object.DeselectControl(ByVal aControl As Object)

 

The DeselectControl method syntax has these parts:

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

 

Remark

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

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