I've been trying to track down the source of Canvas flicker in TextSpresso 3
when running on Windows. Note that this is flicker which occurs despite
buffered drawing techniques, calling Refresh with False at all times, and
Canvas.EraseBackground being False. Below the Canvas that serves as my
custom text editing control in the editor window, I have a Static Text which
I update to let users know what's going on, i.e. it holds a message when a
thread is operating. Undo cache load/store, even though it happens in an eye
blink for all but very large documents, is one of the tasks which sets a
message.

On a whim I turned off "reporting" for undo cache load/store, and the
flicker disappeared completely for a certain set of tests. Turned it back
on, but changed the Static Text to an EditField, and the flicker was mostly
gone though it still occured a bit.

Which leads me to these questions...

* Do individual control updates, on Windows, potentially cause the entire
Window to redraw where RB erases the background?

* Does anybody know a way around this behavior and/or a way to absolutely,
always and forever prevent RB from erasing the background? This was a
nightmare in 5.5 where resizing the window would cause nasty flicker. It
seems much improved in RB2006r4, but still an annoyance.

Thanks in advance!

Daniel L. Taylor
Taylor Design
Computer Consulting & Software Development
[EMAIL PROTECTED]
www.taylor-design.com


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to