DEAR SIR
ITS NOT WORKING
- (prompt "\nType T1 to run...")
-
- (defun C:T1 ()
-
- (write-line " key=\"time\";label=\"\";//text content" fn)
- (setq dcl_id (load_dialog "t1.dcl"))
- (set_tile "time" (strcat (menucmd "M=$(edtime,$(getvar,date),YY/MO/DD HH:MM DDDD)")))
- (if (not (new_dialog "test" dcl_id))
- (exit )
- );if
-
- (action_tile "accept"
- "(done_dialog)"
- );action_tile
-
- (start_dialog)
- (unload_dialog dcl_id)
-
- (princ)
-
- );defun
- (princ)
- test:dialog
- {key=\"time\";label=\"\";"
-
- {
- label = "TIME AND DATE";
- : text
- {
- label = "HI";
- alignment = centered;
- }
-
- : button
- {
- key = "accept";
- label = "Close";
- is_default = true;
- fixed_width = true;
- alignment = centered;
- }
-
- }
|