(load_dialog)

(load_dialog filename)


Load that dialog box definition file.


This function loads a DCL dialog control file. DCL files must be loaded before a custom dialog box can be displayed by progeCAD . The filename argument is the name of the DCL file.

This function returns the ID (a positive integer) of the loaded DCL file, or -1 if the DCL file cannot be loaded.

Examples

Code Returns

(load_dialog "basicdcl")

1

(load_dialog "junkdcl")

-1

NOTE The order of calling a dialog box is as follows:

  1. load_dialog
  2. new_dialog
  3. action_tile, start_image, start_list, etc (perform all dialog box initialization, such as associating an action with a tiles, creating an image, and making the lists for list boxes)
  4. start_dialog
Tell me about...

(unload_dialog dcl_id)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language