You can use the InSelection property to determine or specify whether a control on a form in Design view is selected.
Setting
The InSelection property uses the following settings.
Setting | Description |
---|---|
True (–1) | The control is selected. |
False (0) | The control isn't selected. |
This property is available only by using a macro or Visual Basic.
Remarks
When a control is selected, its sizing handles are visible and it can be resized by the user. More than one control can be selected at a time.