-----Original Message-----
From: Chris Dunworth
To: Palm Developer Forum
Sent: 8/22/2000 11:27 PM
[...]
>When the user drags an icon up and/or to the left, a "trail" of old icon
>images is left behind. Dragging down or to the right never causes this
>problem. I cannot find errors in my drawing or saving/restore code
>(which of course means their aren't any ;-) ). Does this problem as I
>describe it set off any bells with any of you? I'd love to hear any
>theories as to why this is happening.

This sounds like a classic off-by-one error. The above problem is what you
would see if the extent.x and extent.y in one or more of your RectangleType
structures was less than it should be. The classic problem with rectangles
is that you don't know if the right and bottom edges of the rectangle are
inside or outside the rectangle. I think that you're guessing that they are
inside but the Palm OS treats them as if they are outside.

      -Bob Whiteman


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to