0 Members and 1 Guest are viewing this topic.
(set_tile "error" "You can only select one option")
ok_cancel_help_info;
Hello everyone . I searched for the action tiles that I can use to control the buttons HELP and INFO in a DCL file , but I did not find anything helpful .Can somebody help me with it please ? Thanks in advance .
...(action_tile "help" "(get_help)")(action_tile "info" "(alert \"Press OK to exit\")")...(defun get_help ( / f) (if (setq f (findfile "C:\\Program Files\\Common Files\\Autodesk Shared\\acadauto.chm")) (startapp "hh.exe" f) ) )
With errtile we can use the set_tile to prompt a message to user in the the same DCL file , like thisCode: [Select](set_tile "error" "You can only select one option")Then how to set the tile for HELP and INFO buttons ?like this .Code: [Select]ok_cancel_help_info;
BUTTONS : button { width = 13; fixed_width = true; fixed_height = true; }BUTTONS_INSERT_CANCEL_HELP : row { alignment = centered; fixed_width = true; : BUTTONS { key = "INSERT"; label = "&Insert"; is_default = true; } : BUTTONS { key = "CANCEL"; label = "&Cancel"; is_cancel = true; } : BUTTONS { key = "HELP"; label = "&Help"; }}
: button { fixed_width=true; width=13; height=2.2; key="help"; label= "Help"; action = "(help \"C:/Program Files/Common Files/Autodesk Shared/acadauto.chm\"\)"; }