name : dialog


Create a dialog box.     DCL Cluster Tile


This cluster tile defines a dialog box. The name prefix defines the case-sensitive name of the dialog box. This name is required to identify the dialog box within the DCL file.

To access the dialog box within LISP, use the load_dialog(to load the DCL file) and the new_dialog(to display the dialog box) functions, as in the following example:

(setq dlg (load_dialog "dclfile"))

(new_dialog "name" dlg)

 

NOTE When both the label and value attributes are defined, value takes precedence over label.

 

Valid Attributes

name : dialog {

          initial_focus = "string";

          label = "string";

          pointsize = int;

          typeface = "string";

          value = "string";

}

 

Example

objext : dialog {

initial_focus = "OK"

label = "Object Extraction"

          : boxed_row {

          label="Select Objects";

               : button {

                    action = "(linelsp)";

                    key = "BB";

                    label = "Line";

               }

               : button {

                    action = "(circlelsp)";

                    key = "BW";

                    label = "Circle";

               }

          }

}

 

Related DCL Tiles

column

row

boxed_column

boxed_row

boxed_radio_column

boxed_radio_row

radio_column

radio_row

 

Tell me about...

Programming Overview of DCL (Dialog Control Language)

About Predefined Attributes


Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved.