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

Home » Public Forums » archive » 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 #21251 is a reply to message #21146] Mon, 14 August 2000 00:00 Go to previous messageGo to previous message
promashkin is currently offline  promashkin
Messages: 169
Registered: December 1999
Senior Member
David Fanning wrote:
> Today, I went back and looked at the code more carefully.
> I think my original plan *was* to put it in a menu bar,
> but I had to modify my original plan. I'm guessing because
> it didn't work then.

This was the problem that a child of menu bar shared (forcefully) its
UVALUE with the menubar and the rest of menubar children. I think I
reported this for version 5.0 and was assured that such behavior was
beneficial for me. I forget what the explanation was, but I had no other
choice but to use buttons as top-level items on menu bar. Their Uvalues
were all the same, but you never use them. Menu items then could have
different Uvalues and be used in the most conventional way in event handlers.

> But I just tried it now (with the same Dynamic_Menu code
> on my web page) in a menu bar and it still works. I'm using
> IDL 5.3.1 on Windows NT 4.

I still use buttons as "insulators" between menubar and droplists of
menu items. It does work, although I am not sure if it is necessary anymore.
I use IDL 5.2 on a Mac. BTW, I have no system crashes when messing up
with widgets, including menu bars. Might be that faulty MacOS release,
you never know :-(
Cheers,
Pavel
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Axis labels
Next Topic: slicer to movie

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

Current Time: Fri Oct 10 17:33:30 PDT 2025

Total time taken to generate the page: 1.11894 seconds