> I am designing an application
> and would like to  use categories to separate two  different types of
> records.  I don't want to use categories in the typical popup list way,
but
> rather implement switching via push buttons.  The category functions
however
> (specifically CategorySelect) don't seem to support anything but the
> standard way.  Can someone lend me some insight on how to define and
select
> categories without using those functions?

The Dm functions let you specify a category number. You can get and set the
category number of a record, or iterate through all records in a given
category number. These are independent of the Category functions...

The Category functions assume the category names are in the app info block.
They let you assign category names to category numbers. You probably don't
want to store category names anywhere, so you don't need to use the Category
functions at all.

BeamBooks stores "Books I Have" and "Books I Can Get" as records in a
database with category numbers 1 and 2. It uses a pop-up list to choose
between them, but it could have used push buttons just as easily.
--
Danny Epstein
Palm Computing


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

Reply via email to