Hi,

I have an app that requires Palm OS 2.0 or later. On one of its forms is a
table that needs to be shown or hidden based on certain criteria. Since
FrmHideObject does work correctly on tables until 4.0, I could not use it.
Until recently, I simply set the table's attr.usable bit to true or false.

Then lately, I created a separate .c file, that contained:

==========================================================
#define ALLOW_ACCESS_TO_INTERNALS_OF_TABLES

#include <PalmOS.h>

void set_table_usable (TablePtr table, Boolean showit) {
   table->attr.usable = showit;
   }
==========================================================

This compiles OK, but now when I run it in the Simulator, I get an error. I
can click on "Ignore", but of course the table does not get shown/hidden
like it needs to. I downloaded the latest SDK, Simulator, Documentation,
etc. and hoped to find a FrmGlueHideObject function that would handle this
correctly, but there isn't one. (The same problem also exists for Lists.)

Increasing my app's minimum required OS from 2.0 all the way to 4.0 is just
not an option. Does anyone have a workaround I could use? Does anyone at
Palm know if they are going to be releasing a FrmGlueHideObject function?

Thanks.

Tom

P.S. Palm folks:  Are there plans for a Simulator update that will let you
set the HotSync Name like the Emulator does?


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

Reply via email to