done_dialog
(done_dialog [ intResult ] )
This function closes the active DCL dialog box
and returns the X,Y position of the dialog; intResult (default is 0 for
Cancel, 1 for OK) is returned by (start_dialog) function.
Arguments |
intResult (optionally) integer to be returned from (start_dialog) function, like 1 for OK, 0 for Cancel (defaults to 0/1) |
Return |
the last position of the dialog as (x y) list |
Example |
(done_dialog 10) |
Remarks |
this function can only be
called from inside a dialog callback ! |
© Bricsys NV. All rights reserved. |