> Is it possible to use CategoryEdit and have "Unfiled" not be edittable?
>
> The parameter 'numUneditableCategories' isn't particularly clear as to its
> function, but in MemoPad, when you do a category edit, it hides "Unfiled"
> from you. However, in an app I created, using:
> CategoryEdit (Prefs.notesdb, &Prefs.FolderSelected, categoryEditStrID,
0);
>
> Where Prefs.notesdb is the the mempad DB, Prefs.FolderSelected is which
the
> current selection is, and categoryEditStrID is of course system defined.
Make sure "Unfiled" is the first category for your database (use category id
0) when you call CategorySetName that first time:
CategorySetName(dbHandle, 0, "Unfiled");
.. then when you call the category functions, tell it 1 (the first one) is
uneditable.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/