Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Canvas redraw... (Real Studio network user group Mailinglist archive)

Back to the thread list
Previous thread: Chasing arrows don't chase
Next thread: Getting at HTTPSocket 'content'


RE: official stance on Windows compatibility and is it worth it?   -   Triola, Marc
  Canvas redraw...   -   Ray Giarratana

Canvas redraw...
Date: 01.08.03 03:14 (Thu, 31 Jul 2003 19:14:16 -0700)
From: Ray Giarratana
I'm having an odd problem.

I have a subclass of a canvas that is essentially a grid of rectangles with
text in them. All in one canvas. The user can use the arrow keys to move the
selection to a different cell, or use the mouse to click on a different
cell.

The problem is, that the redraw speed in the keydown event is way faster
than the redraw speed in the mousedown event...and they use the same draw
routine. The paint event is not used here. The new selected cell and the old
cell are the only ones redrawn. Basically, when a cell is clicked on,
there's a very noticeable delay before it gets redrawn. Sometimes, it's very
significant and a watch cursor pops on for a second.

What's going on? Is there something else happening during a mousedown?

Thanks!

ray


BTW, same results in 4.5.2 and 5.2.



/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

"The difference between a lot of drums
as opposed to a few drums
is just the amount of drums."

- Steve Gadd

\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

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