At 7:56 PM +0100 8-03-00, [EMAIL PROTECTED] wrote:
>On 3.5 the cell is also highlighted but changes the underlying text to the
>LAST entry of my table.
>
>This does look very crazy. I haven't coded it like that ...

Yes, you have.  :-)

On 3.5, the behavior for highlighting custom table items changed.  Prior to
3.5, it used to just call WinInvertRectange.  That can't work in color, so
instead the custom draw procedure is called again, only this time with the
foreground and background color adjusted appropriately so that the item
draws in the correct colors.

Apparently, your code made some assumptions about when the custom draw
procedure would be called, and these assumptions are causing the wrong item
to redraw on highlight.  The row and column to draw are passed to the
custom draw function, make sure you draw the right data!

                                --Bob



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to