ISControl.BringToFront

Description

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

Syntax

object.BringToFront

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

Example

Bring the specified control to the front.

Dim aControl

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

Version information

Added in v7.8.0