Navigation:  Templates > Template Language Reference > #PROMPT Entry Types Alpha Listing >====== SAVEDIALOG (call Save File dialog) C6H0068.jpg ====== Previous pageReturn to chapter overviewNext page

SAVEDIALOG( title, extensions )

blk2blue.jpg

SAVEDIALOG Calls the Windows common Save File dialog.
title A string constant containing the title to place on the file save dialog.
extensions A string constant containing the available file extension selections for the List Files of Type drop list.

The SAVEDIALOG type in a #PROMPT statement indicates the prompt's symbol must contain the name of the file selected by the programmer from the Save File dialog (see FILEDIALOG in the Language Reference). The file must not already exist on disk.

Example:

#PROMPT('Ask for FileName',SAVEDIALOG('Pick File','Source|*.CLW')),%FileSymbol