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

Home » Public Forums » archive » Widget_windows, scrolling and refreshing
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_windows, scrolling and refreshing [message #90673 is a reply to message #90672] Tue, 24 March 2015 14:07 Go to previous messageGo to previous message
Helder Marchetto is currently offline  Helder Marchetto
Messages: 520
Registered: November 2011
Senior Member
On Tuesday, March 24, 2015 at 9:40:03 PM UTC+1, Paul Mallas wrote:
> Hello,
>
> I have a widget_base which holds a variable number of widget_windows containing image chips. If the number of widget_windows required exceeds a threshold, the y scroll bar is enabled on the widget_base.
>
> My problem is when the scroll bar is enabled and I actually scroll, only the top and bottom row of widget_windows refresh (i.e., the ones moving onto the visible area when scrolled). The center rows of widget_windows go black and are never refreshed.
>
> There does not seem to be a 'scroll event' off which to cue a refresh. Any ideas how to make the black window_widgets refresh?
>
> Thank you

I've ran into a similar problem with FG graphics and I found a workaround. I don't like it, but saves me lots of headaches. I basically fire a timer_event every second (or less... depending) and I then refresh windows using something like:
oWin->refresh

Does the job, but I would also like these window to update on their own :-)
Let me know if you have a better solution.

Cheers,
Helder

PS: This also happens with normal windows. Event if I do p=plot(/test) and then do something else, the window might go black. The only way I found to get things back is to interact with the widget (or refresh it).
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3d polygon mesh for 3 indpendent variables, x,y,z
Next Topic: Question on MODIS Conversion Toolkit

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

Current Time: Wed Oct 08 15:57:40 PDT 2025

Total time taken to generate the page: 0.00179 seconds