Description
Allows the z-order position of a control to be set programmatically.
Applies to
All Controls
Syntax
x = Send_Message(objFront, "SET_ZORDER", objBehind)
Parameters
For SET_ZORDER, Send_Message() has the following parameters.
Parameters | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
objFront | A control. | ||||||||
objBehind |
|
Remarks
There are times when designing a form that a Group Box will display in front of controls that exist "within" the group box. The Z-ORDER is out of balance with the intention of the developer. Using the SET_ZORDER message can be used to remedy this behavior.
See Also
Send_Message() function, ResetZOrder message
Example
* Set a group box to be behind a label. myLabel = @window : ".LABEL_1" myGroupBox = @window : ".GROUP_1" call Send_Message( myLabel, "SET_ZORDER", myGroupBox)