new_dialog


(new_dialog  dlgName  dclId  [ defaultAction [ defaultPosition ] ] )

This function prepares a dialog dlgName from loaded DCL file dclId.

Arguments

dlgName  string, specifies the dialog name

dclId  integer (from (load_dialog) function), specifies the DCL file previously loaded

defaultAction  string, optional, a default AutoLISP expression, used with DCL tiles, which do not specify an own action string or handler function; can be an empty string ""

defaultPosition  2d point, optional, specifies a position on screen, where to be shown (if omitted or (-1 -1), the dialog is centered)

Return

T if the specified dialog is successfully created, NIL otherwise

Example


Remarks

this function prepares the dialog to be shown, and displays the dialog, but the dialog is not "started" after (new_dialog);
the dialog is effectively started by calling the (start_dialog) function;
see (load_dialog) functions



©  Bricsys NV. All rights reserved.