Brings the Preview window on the foreground and activates it.
A long expression that specifies the z-order of the Preview window.
By default, the Foreground property is 0 ( Places the
Preview window at the top of the Z order. ). The Foreground property has effect only at next Preview call, so
always call the Foreground property before Preview
method. For instance, use the
Foreground property on 1, on Clarion environment so the Preview window will be
bring on top when the Preview method is
The Foreground property supports the following values:
0 (top), Places the Preview window at the top of the Z order ( by
1 (bottom), Places the Preview window at the bottom of the Z order.
-1 (always-on-top), Places the Preview window above all non-topmost windows. The window maintains its topmost position even when it is deactivated.
-2 (no-topmost), Places the Preview window above all non-topmost windows (that is, behind all topmost windows). This flag has no effect if the window is already a non-topmost window.