|Navigation: Templates > Template Language Reference > #PROMPT Entry Types Alpha Listing >====== OPENDIALOG (call Open File dialog) ======|
OPENDIALOG( title, extensions )
|OPENDIALOG||Calls the Windows common Open File dialog.|
|title||A string constant containing the title to place on the file open dialog.|
|extensions||A string constant containing the available file extension selections for the List Files of Type drop list.|
The OPENDIALOG type in a #PROMPT statement indicates the prompt's symbol must contain the name of the file selected by the programmer from the Open File dialog (see FILEDIALOG in the Language Reference). The file must already exist on disk.
#PROMPT('Ask for File',OPENDIALOG('Pick File','Source|*.CLW')),%FileSymbol