*LASTDIALOGPDF (GETMODE)


PLBCMP GUI Only, 9.6D

*LASTDIALOGPDF={value}

 

This keyword returns the fully qualified path and name of the last PDF file that was selected by an end-user using the OS 'Save PDF as' Dialog.

Note the following:

  1. The last dialog PDF file name can only be retrieved once. The last dialog PDF file name is automatically cleared by the GETMODE *LASTDIALOGPDF operation.

  2. The last dialog PDF file name is cleared when a CHAIN operation is executed or when a Print Preview dialog is presented to the end-user.

Example:

PF PFILE

PdfFileName DIM 100

.

             PRTOPEN PF, "pdf:", "JobName", PDFNAME=""

             PRTPAGE PF;"Testing Save PDF As Dialog"

             PRTCLOSE PF //OS Save Dialog used!

.

             GETMODE *LASTDIALOGPDF=PdfFileName

             DISPLAY "PdfFileName...:",*ll,PdfFileName,"<<<"

 

 

See Also: List Controls (GETMODE), GETMODE

 



PL/B Language Reference *KEYSTATE (GETMODE) *LASTSSLERROR (GETMODE)