Re: Need help using TblGetItemPtr - getting wrong data

2003-06-19 Thread Albert J. Franklin
amien Carbery" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Thursday, June 19, 2003 7:17 AM Subject: Need help using TblGetItemPtr - getting wrong data > I have a static char variable which I StrCopy data into from a db record. I > th

Re: Need help using TblGetItemPtr - getting wrong data

2003-06-19 Thread ThuNguyet Nguyen
Hi there, I read your posts about TblSetItemPtr() and TblGetItemPtr(). Both of these functions are available on PalmOS 3.5 so you don't need to use tableP->items[row * tableP->numColumns + column].ptr I didn't use TblSetItemPtr() and IblGetItemPtr() before. I do use TblSet

Need help using TblGetItemPtr - getting wrong data

2003-06-19 Thread Damien Carbery
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

TblSetItemPtr sets one thing and TblGetItemPtr gets another

2003-06-16 Thread Damien Carbery
uot; in the callback function. I put "f" in the cell's 'ptr' area via TblSetItemPtr(). I retrieve this via the old syntax: tableP->items[row * tableP->numColumns + column].ptr (when I upgrade to SDK 5 I'll use TblGetItemPtr). The problem: On the first cell I sen

TblGetItemPtr() on handspring

2002-05-22 Thread Priti Adam
char* someString = (char*) TblGetItemPtr(tableP, row, col); (where...the table item pointer being retrieved is of labelTableItem type) crashes (fatal error ) on the handspring device(OS version 3.0.1H )!!! works fine on the emulator though : ) any explanations??? Priti -- For

Re: TblGetItemPtr

2002-03-04 Thread Ben Combee
On Mon, Mar 04, 2002 at 03:04:16PM +0100, Anaïs Rey wrote: > I would like to use this function : void * TblGetItemPtr (const TableType > *tableP, Int16 row, Int16 column) but this error appears when I make the > project : Link Error : Starter.c: 'TblGetItemPtr&#x

Re: TblGetItemPtr

2002-03-04 Thread Marco Pantaleoni
On Mon, Mar 04, 2002 at 03:04:16PM +0100, Anaïs Rey wrote: > I would like to use this function : void * TblGetItemPtr (const TableType > *tableP, Int16 row, Int16 column) but this error appears when I make the > project : Link Error : Starter.c: 'TblGetItemPtr&#x

TblGetItemPtr

2002-03-04 Thread Anaïs Rey
I would like to use this function : void * TblGetItemPtr (const TableType *tableP, Int16 row, Int16 column) but this error appears when I make the project : Link Error : Starter.c: 'TblGetItemPtr' referenced from 'MainFormHandleEvent' is undefined. Can someone help me T