property ExPrint.Foreground as Long
Brings the Preview window on the foreground and activates it.

TypeDescription
Long 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 called. The PreviewState property returns or sets the visual state of preview mainframe at runtime.

The Foreground property supports the following values: