Jump to content

Image button in DCL


giskumar

Recommended Posts

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.

Link to comment
Share on other sites

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,

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 6 months later...
  • 9 years later...

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 by Terry Cadd
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...