PrtPreviewClose Method (PANEL)


PLBCMP GUI Only, 9.4D

 

The PrtPreviewClose method loses a Advanced Print Preview window that has been created on a PANEL object window. This method uses the following format:

 

[label]

{object}.PrtPreviewClose

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A Panel that is created.

return

Optional. A Numeric Variable that indicates the success or failure of the method.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. If the value returned is zero, the ZERO Condition Flag is set. The returned value is zero if the method operation is successful.

  2. The EOS Condition Flag is always cleared.

  3. The OVER Condition Flag is set if the {return} variable it too small to receive the method result without truncation.

  4. This method is not available when using the PL/B Web Server.

 

 

See Also: Panel Methods, Method Syntax

 



PL/B Language Reference PrtPreviewAction Method (PANEL) PrtPreviewOpen Method (PANEL)