On Fri, Jul 28, 2000 at 10:37:27AM +0800, [EMAIL PROTECTED] wrote:
> For the next revision of the PalmOS APIs, do you think Palm Inc would
> implement TblGetNumberOfColumns()?

I guess that would be nice.

> But before then, does anyone know how to programmatically obtain the
> number of columns in a table?

Just read it out of the table structure.  I used this in my code:


  #define TblGetNumberOfColumns(ptr)  ((ptr)->numColumns)

  ...

  nRows = TblGetNumberOfRows(table) ;
  nColumns = TblGetNumberOfColumns(table) ;

John

-------------------------------------------------------------------------
John Valdes                        Department of Astronomy & Astrophysics
[EMAIL PROTECTED]                               University of Chicago

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

Reply via email to