You must have a callback routine for the column that you call to draw the
contents at display time.  Chapter 8 of "Palm Programming:  The Developer's
Guide" gives good coverage of table handling.  You can find it at this link,
http://www.palm.com/devzone/docs/pptdg/ch08.htm#TopOfPage.

Regards,

Steve

> -----Original Message-----
> From: Dan Hewins [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 24, 2000 5:28 PM
> To: Palm Developer Forum
> Subject: customTableItem not working properly (they are
> checkboxTableItems)
> 
> 
> Hi all,
> 
> I am having a recurrence of a VERY strange problem that I was 
> experiencing with CodeWarrior r5 and now I am having with r6.
> 
> I am trying to make a table full of customTableItems and they are all 
> turning out to be checkboxTableItems.
> 
> Here's some code I use:
> 
> for (i = 0; i < rows; i++) {
>       for ( j = 0; j < HGPAGE_MAX_COLS; j++ ) {
>               TblSetItemStyle(table, i, j, customTableItem);
>       }
>       ...
> }
> 
> The call to TblSetItemStyle **Does absolutely nothing** when I step 
> through in the debugger.  All of the items are initially 
> checkboxTableItems and after the call to TblSetItemStyle, they still 
> are checkboxTableItems.
> 
> I am using CodeWarrior for Palm OS R6 and the 3.5 SDK:
> 
> Palm OS 3.5 Headers
> PalmRez Post Linker (v4.1b8 created Jan 12, 2000 2:40 PM)
> PalmPlugin (v1.6.2d1 created Jan 12, 2000 2:40 PM)
> 
> Any ideas?
> 
> Has anyone else had this problem?
> 
> Thanks,
> Dan Hewins
> Synergy Solutions, Inc.
> 
> -- 
> For information on using the Palm Developer Forums, or to 
> unsubscribe, please see http://www.palm.com/devzone/mailinglists.html
> 
> 

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

Reply via email to