ZOrder

This method places a specified Form or control at the front or back of the z-order.

Syntax

object.ZOrder position

Parameters

object
Optional. Object expression that evaluates to a form or control.
position
Value that determines a position in the z-order.

Return Value

None.

Remarks

You cannot place an object in the middle of the z-order. If position is vbBringToFront or omitted, object is positioned at the front of the z-order. If position is vbSendToBack, object is positioned at the back of the z-order.