| **Navigation:**  [[templates.htm|Templates]] > [[tlrcontents.htm|Template Language Reference]] > #PROMPT Entry Types Alpha Listing >====== OPENDIALOG (call Open File dialog) {{c6h0068.jpg|C6H0068.jpg}} ====== | [[keycode list of keycodes .htm|{{btn_prev_n.gif|Previous page}}]][[tlrcontents.htm|{{btn_home_n.gif|Return to chapter overview}}]][[optfield optional text or data field .htm|{{btn_next_n.gif|Next page}}]] | | || **OPENDIALOG(** //title, extensions// **)** {{blk2blue.jpg|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 __T__ype 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**