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

Home » Public Forums » archive » Re: Dynamic menus on base widget using MBAR
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: Dynamic menus on base widget using MBAR [message #21143] Thu, 10 August 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Ricardo Fonseca (zamb@physics.ucla.edu) writes:

> Is there a way to dynamically change the menu on a base widget? When I begin
> my program I create a menu using the MBAR keyword on the WIDGET_BASE
> function. While it is running, and depending on user input, I'd like to
> change the menu to a completely different one.
>
> So far I've attempted to destroy the old button widgets and regenerating the
> menu, but it's not working.

I wrote an article about how to do this and put it on my
web page:

http://www.dfanning.com/tips/dynamic_menus.html

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: transparent GIF pixels
Next Topic: Re: Selecting objects and PickData problem

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

Current Time: Sat Oct 11 12:16:22 PDT 2025

Total time taken to generate the page: 1.44081 seconds