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