get a file-id
by calling load_dialog with the path to a dcl
file as argument (load_dialog "c:/my_dialog.dcl") -> return
value 1 If the return value is 0 or less, then the file could not
be loaded.
get a dialog-handle
by calling new_dialog with a dialog name and the
received file-id as argument (new_dialog "my_dialog" 1)
set various callback functions
by calling action_tile with a key of some tile
(GUI component) and the received dialog-handle as
argument
start a modal flow on the dialog
by calling start_dialog
(start_dialog)
receive and process user input
through the callback functions and using various
DCL API calls to alter the state of the dialog
terminate the dialog
by calling done_dialog with the dialog-handle as
argument The default callback automatically calls done_dialog when
cancel or ok is clicked.
unload the dcl file
by calling unload_dialog with the file-id as
argument (unload_dialog 1)
© Bricsys NV. All rights reserved. |