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

Home » Public Forums » archive » Re: Problems realizing menu changes under IDL 5.5 on Solaris
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: Problems realizing menu changes under IDL 5.5 on Solaris [message #31739 is a reply to message #31737] Thu, 15 August 2002 12:58 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Phillip David (phillip_david@xontech.com) writes:

> I am having a new problem with an old code that runs on a Solaris box.
> The code adds menu items when the user selects certain functions, then
> selects the new button by sending a fake selection event to it using
> Widget_Control, send_event. However, when I attempt to run this code
> under IDL 5.5, I'm getting a warning message about the menu being
> unrealized.
>
> For the sake of brevity, I've stripped it down to the following
> example. When I test my code, I select "Add a button" from the "Test"
> menu, then select the "Am I realized?" button from the same menu. When
> I run it on a PC using either IDL 5.4 or 5.5, I get the message "I AM
> realized". Under Solaris v5.4, I also get "I AM realized". but under
> IDL 5.5, I get "I am NOT realized".
>
> Does anyone have any idea WHY I get the message I do, and WHAT I can do
> about it?

I've no idea WHY you get the message, but surely
you have been working with computers long enough
not to be surprised by something like this. :-)

Let's just say that people who write operating
system software have a sense of humor and leave
it at that.

I expect you *could* try realizing the button after
you created it:

new = Widget_Button(parent, $
Value='Am I realized?',event_pro='testRealized')
Widget_control, new, /Realize

Let us know.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@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
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: replacement for insight
Next Topic: Saving Plot Products

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

Current Time: Thu Oct 09 14:49:23 PDT 2025

Total time taken to generate the page: 0.95927 seconds