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 #90676 is a reply to message #90674] Tue, 24 March 2015 15:19 Go to previous message
PMan is currently offline  PMan
Messages: 61
Registered: January 2011
Member
On Tuesday, March 24, 2015 at 5:59:50 PM UTC-4, Paul Mallas wrote:
> On Tuesday, March 24, 2015 at 5:07:31 PM UTC-4, Helder wrote:
>> 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).
>
> Ok, I will try out your idea. The only things I could come up with were 1) creating an additional 'Refresh all' button, or 2) making the scroll range so large that everything can scroll out of/into visible range. Both sort of lousy choices.

Funny thing - I just 'remote desktop'ed in my computer at work. And it seems that this problem does not occur when using remote desktop. Usually for any type of graphics it's terrible, but for this, it actually fixes the problem. Go figure ...
[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:49:05 PDT 2025

Total time taken to generate the page: 0.00391 seconds