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

Home » Public Forums » archive » Re: WIDGET REALIZATION BUG in 5.5 ?
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: WIDGET REALIZATION BUG in 5.5 ? [message #28760] Tue, 08 January 2002 09:00 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
If you create a button and then call Widget_Control on it in the same
routine, this button is not realized yet, I think. You can check on that
by inserting a breakpoint befor the end of the routine and checking if
your button is displayed.
None of my business, but why create a new button every time? There are
other widgets for multiple choice solutions, and it is easy to change
properties of an existing button.
Good luck,
Pavel

Martin Lowry wrote:
>
> Hi All,
>
> I have just installed 5.5 and came across an error I hadn't seen in
> 5.4.
>
> I use a 'PRO_SET_VALUE' routine to create a button each time I load an
> image file. This button's UVALUE carries information about the file
> and serves as a launching button for the file it represents. At the
> end of the routine I use WIDGET_CONTROL to send an event to the just
> created button to make it the 'currently' active button and update
> some display labels. Unfortunately IDL comes back with the following
> message:
>
> % WIDGET_CONTROL: Request not allowed on unrealized widget.
>
> This seems strange as the button must be realized, albeit implicitly,
> since it appears on screen!
>
> Any ideas how I might prevent the error?
>
> Cheers!
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Sacrilegious but genuine question
Next Topic: Null terminated strings

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

Current Time: Wed Oct 08 17:35:26 PDT 2025

Total time taken to generate the page: 0.00400 seconds