antistar Posted August 8, 2012 Posted August 8, 2012 Would this help? http://lee-mac.com/deleteblocks.html Lee, Great work. I work with many blocks and your routine is very helpful. I have a request: How apply width and heigh to DCL box? Thanks in advance. Quote
MSasu Posted August 8, 2012 Posted August 8, 2012 @scamaru: Is better to start a new discussion in a dedicated thread, than appending to an un-related one. To answer your question, look for width and height dialog attributes. But please keep in mind that those may be overridden by the summated size of defined controls on horizontal, respectively vertical. TEST : dialog { width = 50; height = 30; spacer; ok_cancel; } Quote
SLW210 Posted August 8, 2012 Posted August 8, 2012 New thread created "Apply width and height to DCL box" in AutoLISP, Visual LISP & DCL forum. Quote
Lee Mac Posted August 8, 2012 Posted August 8, 2012 Hi scamaru, Change Line 144: "; } spacer; ok_cancel;}" to: "; width = [color=red]50[/color]; height = [color=red]25[/color]; fixed_width = true; fixed_height = true; } spacer; ok_cancel;}" Change the width and height values (in red) to suit. Quote
Guest kruuger Posted August 8, 2012 Posted August 8, 2012 Lee, Thanks for your reply. I made the change in line 144, as suggested, but did not change the size of box. (write-line (strcat "listbox : dialog { label = \"" title "\"; spacer; : list_box { key = \"list\"; multiple_select = " (if multiple "true" "false") "; width = 150; height = 250; fixed_width = true; fixed_height = true; } spacer; ok_cancel;}" ) des ) 250 is probably to much. try around 50. k. 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.