nila_joy Posted November 23, 2011 Posted November 23, 2011 can I change the properties of a label or a text? : dialog { label = "text1 ...." ; : row { : list_box { label = "text2....." ; Can I change the color, text style of this text1,and text 2? Regards.. ... Subho India Quote
pBe Posted November 24, 2011 Posted November 24, 2011 Would you settle for highlight? (defun c:test (/ create_dialog fname fn dia) (defun create_dialog () (setq fname (vl-filename-mktemp "tmp.DCL")) (setq fn (open fname "a")) (write-line "Sample : dialog { : image { key = \"Sample_B\"; width = 24; height = 1.28; fixed_width = true; fixed_height = true; aspect_ratio = 1; color = 4; } spacer; ok_only; }" fn ) (close fn) ) (create_dialog) (setq Dia (load_dialog fname)) (if (not (new_dialog "Sample" Dia)) (exit) ) (set_tile "Sample_B" "Background Highlight.") (start_dialog) (unload_dialog Dia) (vl-file-delete fname) (princ) ) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.