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