FutureBasic Logo

<<    Index    >> FutureBasic 5

def page   statement

def page

This statement displays the printer "Style Dialog." The exact appearance of the Style Dialog depends on which printer is currently selected, but it typically prompts the user to select portrait or landscape mode, paper type, and other information. Your program should execute the def page statement when the user selects a "Page Setup..." menu item.

After your program executes def page, you can use the prCancel function to determine whether the user clicked the Style Dialog's "Cancel" button, and you can use the prHandle function to determine the page setup preferences that the user requested.

See Also:
clear lprint; close lprint; lprint; def lprint; prHandle