giskumar Posted October 21, 2010 Posted October 21, 2010 Hi all, Can any one please help me, how to make a .jpg or .bmp image as my image_button background in DCL. Thanks. Quote
Tharwat Posted October 21, 2010 Posted October 21, 2010 (edited) I think you can make it with the command (mslide) to give the shape of the object to . Edited October 21, 2010 by Tharwat think word it was thin Quote
Lt Dan's legs Posted October 21, 2010 Posted October 21, 2010 if you're looking to make a vector_image download the following: getvectors.lsp getvectors.dcl and I think you also need geticon.lsp...? http://web2.airmail.net/terrycad/AutoLISP-Code.htm Quote
giskumar Posted October 22, 2010 Author Posted October 22, 2010 Hi all, I am trying to make my own bmp or jpg as buttion background. I hope using image button it is possible. Can any one help me out how can i make it. Thanks. Quote
Guest kruuger Posted October 22, 2010 Posted October 22, 2010 only with this http://opendcl.com/wordpress/?page_id=9 kruuger Quote
giskumar Posted October 22, 2010 Author Posted October 22, 2010 Hi, Instead of open cdl, at least can we add an image to dcl form. (start_image "im1") (fill_image 0 0 w h 0) (slide_image 0 0 w h "XXX") (end_image) as my knowledge we can do with above code. but here we need use image as .sld format. I am unclear how to make bmp to .sld format. Thanks, Quote
Guest kruuger Posted October 22, 2010 Posted October 22, 2010 you are right but this is slide not image. only two options: 1. open dcl 2. convert bmp to dwg and then getvectors.lsp kruuger Quote
Lt Dan's legs Posted October 22, 2010 Posted October 22, 2010 I'd avoid going to opendcl because you have to have opendcl on all computers you wish to share your program with. Use mslide command to make a slide or use getvectors.lsp for a vector_image Quote
Guest kruuger Posted October 22, 2010 Posted October 22, 2010 I'd avoid going to opendcl because you have to have opendcl on all computers you wish to share your program with... i agree. kruuger Quote
Lt Dan's legs Posted October 22, 2010 Posted October 22, 2010 example vector_image test.lsp Made with getvectors.lsp downloaded from http://web2.airmail.net/terrycad/AutoLISP-Code.htm Quote
svorgodne Posted April 28, 2011 Posted April 28, 2011 and where can it be found the test.dcl file? Thanks:) Quote
Lt Dan's legs Posted April 28, 2011 Posted April 28, 2011 Run the test.lsp. It will write the test.dcl in your support path. Quote
Terry Cadd Posted May 15, 2020 Posted May 15, 2020 (edited) The website that hosted GetVectors.lsp have been moved. The website http://web2.airmail.net/terrycad that hosted AutoLISP Exchange and Getting Started with DCL Dialogs has been moved to the new domain https://autolisp-exchange.com . All programs and files are free to download and share. Just click on a button to view the program, then right-click and choose Save as... Edited May 15, 2020 by Terry Cadd Quote
Steven P Posted May 15, 2020 Posted May 15, 2020 I am making an assumption here, but if your button is more like an icon then you could draw the image out using lines and so on - a vector - and I think if you look at Lee Mas Lisps, a lot where he has a DCL dialog he puts his logo there, think that was drawn as a vector and image button (I might be wrong though). It is a bit of work depends on what you want to do Quote
BIGAL Posted May 16, 2020 Posted May 16, 2020 For anyone Terrycad is updating any post on multiple forums so lots of old posts popping up again. Makes google searches work. 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.