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

Home » Public Forums » archive » Re: Using Event Handlers to Change GUI Configuration
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
Re: Using Event Handlers to Change GUI Configuration [message #48934] Thu, 01 June 2006 06:21
ChristopherFlorio is currently offline  ChristopherFlorio
Messages: 23
Registered: April 2006
Junior Member
Thanks. I got it to work just fine.


David Fanning wrote:
> ChristopherFlorio@gmail.com writes:
>
>> Does anybody know of a way to change a GUI configuration with an event
>> handler? Say, for instance, I initially have a set of 4 widget buttons
>> on the top level base and if I pressed the first button the other three
>> buttons become sliders. If I push the second button the rest of the
>> buttons are replaced with a widget draw window. So on and so forth.
>> Basically, is there a way for the event handler to change the setup of
>> the GUI window based on the widget events for that GUI window?
>
> Yes, look at the way this is handled in XLOADCT. The
> secret is a bulletin-board base and the mapping and
> unmapping of child bases inside it. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: Using Event Handlers to Change GUI Configuration [message #48936 is a reply to message #48934] Thu, 01 June 2006 05:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ChristopherFlorio@gmail.com writes:

> Does anybody know of a way to change a GUI configuration with an event
> handler? Say, for instance, I initially have a set of 4 widget buttons
> on the top level base and if I pressed the first button the other three
> buttons become sliders. If I push the second button the rest of the
> buttons are replaced with a widget draw window. So on and so forth.
> Basically, is there a way for the event handler to change the setup of
> the GUI window based on the widget events for that GUI window?

Yes, look at the way this is handled in XLOADCT. The
secret is a bulletin-board base and the mapping and
unmapping of child bases inside it. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: New version of my AVI reader/writer
Next Topic: widget_control, event.TOP, /destroy

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

Current Time: Fri Oct 10 13:38:48 PDT 2025

Total time taken to generate the page: 7.27981 seconds