w64bit Posted August 11, 2023 Posted August 11, 2023 Is there any way to enlarge buttons OK and Cancel in this lisp? https://autocadtips1.com/2013/06/08/autolisp-great-dialog-box-to-turn-on-layers-from-various-states/ Thank you Quote
rlx Posted August 11, 2023 Posted August 11, 2023 :button { is_default=true; alignment=centered; fixed_width=true; width=12; label="Ok"; key="my_ok_button";} key element is statement 'is_default=true 1 Quote
BIGAL Posted August 12, 2023 Posted August 12, 2023 DCL has been in Acad since year dot so has hangovers from that period in that it has never changed and making a default button bigger may not be possible. You could make an IMAGE Button so size can be controlled. The other way may be to use Opendcl someone may respond if that's possible. Rlx nice idea at least makes it a bit bigger. Quote
rlx Posted August 12, 2023 Posted August 12, 2023 (edited) sometimes you dont want ok_cancel or ok_only but a button that says Exit , and then you could use code above, it also works for image_button. Edited August 12, 2023 by rlx Quote
w64bit Posted August 12, 2023 Author Posted August 12, 2023 Thank you very much. One more thing, please. Is it possible to help me with hiding: - "UnPlottable Layers" checkbox when the only unplottable layer is Defpoints; - "Xrefs Layers" checkbox when are no xref layers (with |). Quote
BIGAL Posted August 12, 2023 Posted August 12, 2023 You should post a seperate request as the last request has nothing to do with your dcl question. Admin please move. 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.