ISShape.BringToFront

Description

This function changes the z-order of the specified shape relative to other controls (brings it to front).

Syntax

object.BringToFront

Part Attribute Type Description
object Required
The object always implements the ISShape interface

Example

Bring the specified shape to the front.

Dim aShape

Set aShape = Form.Controls_("Shape1")
aShape.BringToFront
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0