| AutoCAD - Dialog Control Language (DCL) - Minimal Example | What links here? |
// This Dialog box displays a line of text with an OK button
FIRSTDCL : dialog {
label = "My First Dialog Box";
: text {
label = "Hello there, this is my first dialog box";
}
ok_only;
}
(defun c:FIRSTDCL ()
(defun do_exit ()
(done_dialog 1)
)
(setq SRT (load_dialog "FIRSTDCL"))
(if (> SRT 0)
(progn
(new_dialog "FIRSTDCL" SRT)
(action_tile "accept" "(do_exit)")
(start_dialog)
(unload_dialog SRT)
)
)
)
| filename: | AutoCAD - Dialog Control Language (DCL) - Minimal Example |
| filename: | AutoCAD%20%2D%20Dialog%20Control%20Language%20%28DCL%29%20%2D%20Minimal%20Example |
| last edit: | July 27 2013 15:40:56 (-4107446 minutes ago) |
| ct | = 1128507251.000000 = October 05 2005 06:14:11 |
| ft | = 1374954056.000000 = July 27 2013 15:40:56 |
| dt | = -246446805.000000 |