CREATES A SYSTEM OBJECT OPEN_DIALOG AND ALLOCATES IT NUMBER N AS REFERENCE
ACTION
The command OPEN_DIALOG N creates a system object OPEN_DIALOG, and allocates it a number N. The number N will be used to designate the OPEN_DIALOG.
The created OPEN_DIALOG can then be used through the appropriated statements : FILTER, FILE_DIALOG, DIR_DIALOG or FILE_NAME$(N), but it is not visible.
An OPEN_DIALOG displays a dialog box to select a file name with function FILE_NAME$().
An OPEN_DIALOG cannot generate an event.
Remark: by default, the OPEN_DIALOG is created on the FORM number 0, but another FORM can be used. For that, create a FORM by FORM N, and send it all the commands by COMMAND_TARGET_IS N before creating the OPEN_DIALOG.
SYNTAX:
OPEN_DIALOG N
USE ERROR EXAMPLE
rem create an OPEN_DIALOG
open_dialog 1
rem then use it
a$=file_name$(1)
OPEN_DIALOG
OPEN_DIALOG N
SEE ALSO
SAVE_DIALOG
OPEN_DIALOG_PIC
SAVE_DIALOG_PIC
FILE_DIALOG
FILE_NAME$()
FILTER
DIR_DIALOG