Scott Erickson wrote:
>I have a lot of forms in my app, and most of them are pretty simple. I was
>woundering if there was a way to enable 5-way nav and use some kind of
>system defualt behavior instead of building in custom behavior for each
>form?
>
I use the Palm OS Development Studio 1.2 and it's pretty simple and self
explaining with it. Beside all the discussions about it I can recommend the
PODS resource editor when you disable the auto generation of id's.
Create a form navigation resource. Add a <NAVIGATION_FORM_OBJECT> entry for
each form object. It's quite self explaining. Below is a navigation resource of
a simple form.
<FORM_NAVIGATION_RESOURCE RESOURCE_ID="1900">
<VERSION> 1 </VERSION>
<OBJECT_FOCUS> TRUE </OBJECT_FOCUS>
<APP_FOCUS> FALSE </APP_FOCUS>
<INITIAL_OBJECT_ID> 1903 </INITIAL_OBJECT_ID>
<JUMP_OBJECT_ID> 1901 </JUMP_OBJECT_ID>
<BOTTOMLEFT_OBJECT_ID> 1903 </BOTTOMLEFT_OBJECT_ID>
<NAVIGATION_FORM_OBJECTS>
<NAVIGATION_FORM_OBJECT>
<OBJECT_ID> 1901 </OBJECT_ID>
<ABOVE_OBJECT_ID> 0 </ABOVE_OBJECT_ID>
<BELOW_OBJECT_ID> 0 </BELOW_OBJECT_ID>
<SKIP_OBJECT> FALSE </SKIP_OBJECT>
<FORCE_INTERACTION> FALSE </FORCE_INTERACTION>
</NAVIGATION_FORM_OBJECT>
<NAVIGATION_FORM_OBJECT>
<OBJECT_ID> 1903 </OBJECT_ID>
<ABOVE_OBJECT_ID> 0 </ABOVE_OBJECT_ID>
<BELOW_OBJECT_ID> 0 </BELOW_OBJECT_ID>
<SKIP_OBJECT> FALSE </SKIP_OBJECT>
<FORCE_INTERACTION> FALSE </FORCE_INTERACTION>
</NAVIGATION_FORM_OBJECT>
</NAVIGATION_FORM_OBJECTS>
</FORM_NAVIGATION_RESOURCE>
Benjamin
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/