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

Home » Public Forums » archive » Re: explicit redraw does nothing until expose(?) event - IDLitComponent propertysheets
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: explicit redraw does nothing until expose(?) event - IDLitComponent propertysheets [message #39084 is a reply to message #39081] Fri, 23 April 2004 14:44 Go to previous messageGo to previous message
sdettrick is currently offline  sdettrick
Messages: 14
Registered: December 2003
Junior Member
Problem Solved!

Thanks for your efforts, but I think what we all missed was that I had
not registered the pop-up widget with Xmanager. I take it that is
what I'm supposed to do. It seems to do the trick. I didn't forget
to do it, rather I simply didn't know about it, this being my first
popup widget (actually my second - the first had the same problem).

I suppose then that the events were generated, but were never
processed until some action was taken with a registered widget (such
as an expose event).

There is now an extra line in my PropertySheet object method:

> pro myLegend::PropertySheet, group_leader=group_leader, $
> window=window,$
> view=view
> self.window=window
> self.view=view
> wpopup = widget_base( /FLOATING, $
> GROUP_LEADER=GROUP_LEADER $
> )
> button = WIDGET_BUTTON( wpopup, $
> value='Re-draw window', $
> event_pro='handle_all_events', $
> UVALUE = {object:self, $
> method:'ReDraw'} $
> )
> result = WIDGET_PROPERTYSHEET( wpopup, $
> VALUE = self , $
> event_pro = 'handle_all_events', $
> UVALUE = {object:self, $
> method:'ChangeProperty'} $
> )
xmanager, 'PropertySheet', $
wpopup, $
event_handler = 'handle_all_events', $
/NO_BLOCK
> widget_control, wpopup, /realize
> end

Putting this extra line of code in was a wild idea for me which came
from the blue. Please let me know if it's not what I'm supposed to be
doing.

All the best,
Sean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Notice on IDL Alpha/Tru64 Support
Next Topic: simplify a polyline?

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

Current Time: Sun Oct 12 11:32:02 PDT 2025

Total time taken to generate the page: 1.28078 seconds