AutoCAD - Dialog Control Language (DCL) - (done_dialog {status})What links here?
Terminates a dialog box

(done_dialog [status])


Arguments
status
A positive integer that start_dialog will return instead of returning 1 for OK or 0 for Cancel. The meaning of any status value greater than 1 is determined by your application.

You must call done_dialog from within an action expression or callback function.

Return Values
A two-dimensional point list that is the (X,Y) location of the dialog box when the user exited it.

Usage Notes
If you provide a callback for the button whose key is "accept" or "cancel" (usually the OK and Cancel buttons), the callback must call done_dialog explicitly. If it doesn't, the user can be trapped in the dialog box. If you don't provide an explicit callback for these buttons and use the standard exit buttons, AutoCAD handles them automatically. Also, an explicit AutoLISP action for the “accept” button must specify a status of 1 (or an application-defined value); otherwise, start_dialog returns the default value, 0, which makes it appear as if the dialog box was canceled.
AutoCAD - Dialog Control Language (DCL) - (done_dialog {status})
bible - hebrew - Isaiah 32:11
filename:AutoCAD - Dialog Control Language (DCL) - (done_dialog {status})
filename:AutoCAD%20%2D%20Dialog%20Control%20Language%20%28DCL%29%20%2D%20%28done_dialog%20%7Bstatus%7D%29
last edit:July 28 2013 16:06:56 (4224 days ago)
ct = 1740080620.000000 = February 20 2025 14:43:40
ft = 1375042016.000000 = July 28 2013 16:06:56
dt = 365038604.000000