This function changes the z-order of the specified control relative to other controls (brings it to front).
object.BringToFront
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISControl interface |
Bring the specified control to the front.
Dim aControl
Set aControl = Form.Controls_("btnDemo")
aControl.BringToFront