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
Re: Keeping Button Pressed In? [message #45322 is a reply to message #45278] Mon, 29 August 2005 17:00 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark Hadfield writes:

> Silly me. The buttons in question are just ordinary button widgets on an
> exclusive base. (See the EXCLUSIVE keyword to the WIDGET_BASE function.)
>
> The original poster said
>
> Basically, I want one button to stay pressed down, signifying
> the "mode" the application is in.
>
> If the word "mode" implies a choice between several mutually exclusive
> choices, then button widgets on an exclusive base fit the bill exactly.

I appreciate the definitions of "seasoned". I think I'm probably
"flavored". At least after I get done playing tennis. :-)

Yes, I use these kind of exclusive base buttons all the time.
I think of them as "toolbar" buttons" but they could just as
easily be "mode" buttons, as long as the mode is exclusive.

The buttons I was referring to that use Draw Widgets are
actually buttons I use in non-exclusive situations, where
several possible buttons can be selected at any particular
time, and I want a "selected" property to appear differently.

I came on the idea by peering closely at those buttons in
the exclusive bases and seeing how it was *they* appeared
to be selected. It was simply a matter of reversing the button
highlights. Or, another example of smoke and mirrors, depending
upon your philosophical leanings.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[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: Fri Nov 28 08:39:59 PST 2025

Total time taken to generate the page: 0.00843 seconds