This function changes the z-order of the specified image control (brings it to front).
object.BringToFront
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISImage interface |
Bring the specified image control to the front.
Dim aImage
Set aImage = Form.Controls_("Image1")
aImage.BringToFront
The image control is always behind the window controls.
This macro should be executed in any event handler of the form control.