Hi,
I added the "FrmSetNavState" code's in frmOpenEvent.
After that I used the "vchrRockerUp,vchrRockerDown..."
events under keyDownEvent.
I used Navigation for four buttons in the non-modal
form.
First Two buttons horizontally in one line.
and an another two buttons horizontally in the below.
RockerUp and RockerDown for a particular button is not
taking the focus correctly, instead of that It's taken
irrespective of focus in the another button.
I added the RockerUp and RockerDown code for a
particular button properly. But Output gives wrongly.
What could be the problem?
I need urgent help.
-cathy.
--- babbu cathy <[EMAIL PROTECTED]> wrote:
> Fine Thank you Mr.Trevor.
>
> -cathy.
>
> --- Trevor Majula <[EMAIL PROTECTED]> wrote:
>
>
> ---------------------------------
>
> I meant the following:
>
>
>
> static boolean Cathy'sEvnthandler(EventType * event)
>
> {
>
> .......Initialize you variable Types
>
> FrmNavStateFlagsType navStateFlags;
>
> Err navErr;
>
> switch(event->eType)
>
> {
>
> case frmOpenEvent:
>
> .......Get current active form
> etc.....
>
> ....initialize stuff
>
> // Get the nav state flags for the
> form
>
> navErr = FrmGetNavState(form,
> &navStateFlags);
>
> if(navErr != errNone)
> {
> ErrNonFatalDisplay("Error
> getting
> nav state");
> return; //if function is void
> }
>
>
> // Turn on object focus mode, set
> the
> object focus
> navStateFlags |=
> kFrmNavStateFlagsObjectFocusMode;
>
> // Set the new nav state flags
> navErr = FrmSetNavState(form,
> navStateFlags);
> ErrNonFatalDisplayIf(navErr, "Error
> setting nav state");
>
>
> break;
>
> }
>
> }
>
>
__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/