Futurebasic/Language/Reference/prcancel

From Wikibooks, open books for an open world
< Futurebasic | Language | Reference
Jump to: navigation, search

Contents

[edit] PRCANCEL

[edit] Syntax

userCancelled = PRCANCEL

[edit] Description

You should examine the value of PRCANCEL after executing the DEF LPRINT statement. PRCANCEL returns _zTrue if the user pressed the "Cancel" button in the Print Job dialog; or _false if the user pressed the "OK" button. If PRCANCEL returns _zTrue, your program should not continue with the print operation.

You can also call PRCANCEL after executing DEF PAGE, to determine whether the user cancelled the Style dialog (the "Page Setup" dialog). However, your program normally does not need to take any special action in this case.

[edit] See Also

DEF LPRINT; DEF PAGE; PRHANDLE; ROUTE

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export