(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:
- load_dialog
- new_dialog
- 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)
- start_dialog
en
italiano
čeština
Deutsch
français
hrvatski
magyar
polski
српски
русский
中文
中文
한국어
español