DialogEx.SetObjectZOrder

DialogEx.SetObjectZOrder ( 

string ObjectName,

number Position,

string ReferenceObject = "" )

Example 1

DialogEx.SetObjectZOrder("Paragraph1", ZORDER_FRONT);

Moves the paragraph object "Paragraph1" to the front of the z-order.

Example 2

DialogEx.SetObjectZOrder(sObjectToMove, ZORDER_INSERT_BEFORE, sReferenceObject);

Moves the object referenced in variable 'sObjectToMove' to the z-order position directly in front of the object referenced in variable 'sReferenceObject'.

See also:  Related Actions