Greg Ercolano wrote:

> Sven Jonsson wrote:
>> I'm using the value method of Fl_Help_View to display a short (ca 10 - 20
>> lines) temporary document. The problem is that when I change the data by
>> calling value again, the new data is written on top of the old. I want
>> the old data to be removed before the new data is displayed, but I don't
>> know how to accomplish this. If I interactively resize the window
>> containing the widget, it gets redrawn correctly, but there should be a
>> better way.
> 
> Try calling the widget's redraw() method after making the change.

Already tried that. 

When I call value, the new data is displayed, but it is displayed on top of 
the old. Calling redraw doesn't make a visual change. I've tried to call 
damage(1) before calling redraw, but the result is the same. 

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to