comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Keeping Button Pressed In?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Keeping Button Pressed In? [message #45278] Wed, 24 August 2005 07:50 Go to previous message
hocmin is currently offline  hocmin
Messages: 5
Registered: August 2005
Junior Member
I'm new to IDL but have some experience in programming. I'm trying to
recreate the MS Paint/Adobe Photoshop metaphor with my application
through a series of image buttons. Basically, I want one button to
stay pressed down, signifying the "mode" the application is in. Is
this possible with widget_button's using the /bitmap keyword? I
realize I could throw something up with radio buttons to achieve the
same functionality, but I really think the pressed image buttons is a
more elegant solution.

If not possible, are there any workarounds? I tried using two
different images, one to make it look like it's pressed. But the
widget_button has too much padding between the image and the border of
the button to make it "look" like it's pressed. I couldn't figure out
a way around this either.

Any help would be greatly appreciated.

Thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: random integers between 0 and 1,000,000
Next Topic: Reading UUID from JPEG2000 file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:55:23 PDT 2025

Total time taken to generate the page: 0.00457 seconds