User Tools

Site Tools


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

OPENDIALOG( title, extensions )

blk2blue.jpg

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.

Example:

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

opendialog_call_open_file_dialog_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1