I have a static char variable which I StrCopy data into from a db record. I
then pass this to TblSetItemPtr.
In my table callback (which only seems to get called after all my table
populating is complete) I use TblGetItemPtr to retrieve the data for
reformatting and drawing on the cell.

Unfortunately the data retrieved is equal to the last data send (with
TblSetItemPtr) so each cell (appears to have)/has the same data.

What could I be doing wrong?
There are close to no examples of customTableItem types and
TblSet/GetItemPtr
on the web that I've been able to find. The best thing I've found is "Don't
use tables unless you absolutely have to".

My original post includes a small bit of code:
http://groups.yahoo.com/group/palm-dev-forum/message/89520

Any help would be appreciated to get beyond this blocker for me.
[I'm writing a bus timetable app, inspired by TrainSched].

Damien.


________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://uk.messenger.yahoo.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to