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

Home » Public Forums » archive » (non)exclusive buttons in menu bars
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
(non)exclusive buttons in menu bars [message #9789] Fri, 22 August 1997 00:00
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
Right here, in Netscape's composing window, there are buttons in the
menu bar which work as nonexclusive buttons: I can set options directly
by selecting the button.
AFAIK that's not directly possible in IDL (why??), but maybe someone
already wrote some routines for that?
A workaround should be possible. I'm thinking of a modified version of
WIDGET_BUTTON. Maybe the button text should be given via a TITLE
keyword, and the state (on/off) via the VALUE keyword. Somehow this
state should be shown in the title, by adding (On) / (Off) or s.th. like
that. When it is selected, let an event handler toggle this state and
update the title. FUNC_GET_VALUE and PRO_SET_VALUE make setting the
states transparent.

Something like that. Should be possible, shouldn't it? Has anybody
already thought about this, or perhaps written such a routine?


Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: (non)exclusive buttons in menu bars
Next Topic: 2D or 1D

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

Current Time: Wed Oct 08 19:05:19 PDT 2025

Total time taken to generate the page: 0.00460 seconds