"Lorri Sloane" <[EMAIL PROTECTED]> wrote:
> Ok, so I'm completely new to PalmOS (so please bear with the bad form). I'm
> just trying to figure out how preferences are saved and accessed. I'm using
> GCC, SDK 3.5 and POSE. My application gets no compiler errors. What I'm
> trying to do use a bunch of check boxes to set my preferences (70 to be
> exact - each one is sequentially numbered in the header file). When my
> preference form opens I want to read and display the preferences. This part
> works fine except it doesn't quite draw all of the checkmark on the
> screen(it's missing the upper right portion of the check mark---the part
> outside of the box).
You may have some of the the checkboxes too close the edge of the
screen, or too close together.
> Then when I leave the preference form (in this case, when I go to the main
> menu) I want to save any changes that have been made. This is where the
> problem is. When I hit the Menu silk screen button, all my menus are
> displayed properly. However, when I select a menu item (any menu item) I get
> "TestApp has just performed an illegal operation. It performed a 'bus
> error'". When I comment out the offending code, I don't have any problems
> manuevering with the menus...but (of course) none of my preferences have
> been saved.
Snipped your code to save space. I noticed that you are initializing
frmP in your frmOpenEvent case, but not in your menuEvent case. Is that
just a typo when you were writing your email? If not, that is likely
your trouble.
--
Roger Chaplin
<[EMAIL PROTECTED]>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html