0 Members and 1 Guest are viewing this topic.
VovKa, could you show an example of using 'tabs'? I tried to use '\t' at popup_list and list_box, but i didn't see the correct result. Thanks.
test:dialog { label = "test" ; :column { :list_box { key = "lll" ; width = 30 ; tabs = "10 14"; tab_truncate = true; } cancel_button; }}
(defun c:test () (setq lst (list "1\t10\t100" "10\t100\t1000" "100\t1000\t10000""1000\t10000\t100000")) (if (> (setq dcl_id (load_dialog "test.DCL")) 0) (progn (if (new_dialog "test" dcl_id) (progn (start_list "lll") (mapcar 'add_list lst) (end_list) (setq ok (start_dialog)) ) ) (unload_dialog dcl_id) ) ))
Looks good Ron