(load_dialog filename)


Load that dialog box definition file.


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

This function returns the following codes:

Return Code Meaning
1 DCL was successfully loaded.
-1 DCL file was not found.

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
  5. Tell me about...

    (unload_dialog dcl_id)

    LISP Compatibility

    Programming Overview of LISP (LISt Processing) Language