Hi,

I've managed to populate a table, with two columns custom style, using a custom 
drawing function, and working scrollbars.

The slight problem that remains is that the first time the table is drawn, the 
first row is scrambled while all subsequent rows are drawn correctly. More 
specifically, on the first line, the second column nearly entirely overwrites 
the first column. On the following lines, everything is OK.

If I use the scrollbar, down and up again, the first row gets redrawn correctly.

I have stepped with the integrated debugger into the code, and see that the 
first time the first row is drawn, the "bounds" structure that is automatically 
sent back to the custom drawing function holds a wrong value for the 
"topLeft.x" parameter. This is just "+1" with respect to the first columns X 
coordinate, instead of having the correct positioning for the second column.

As I said, all following rows are correctly drawn, and if the entire table is 
redrawn for some reason, ex. scrolling, everything is OK too with the first row.

Does anyone have an idea what may be the reason for this strange behavior? I 
tried to attach a screenshot, but my message got rejected because it had the 
attachment. (Why then offer the possibility of attaching files if it is 
rejected?...).

Thanks for any suggestions!

Anne-Marie
To unsubscribe send an email to  [EMAIL PROTECTED]
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to