I did read through the manual that came with PilRC 3.2 and could not figure out what is going on there. The example was not even that helpful. I did do research and study the Palm API and The PilRC manual before I posted here.

By the way, I use CodeWarrior 9.3 with the latest SDK installed. Currently my project had to be done using *.rcp for resources.

The manual does not explain what the key words SKIP FORCEINTERACTION BIGBUTTON and JUMPOBJECTID do. I am not sure when ABOVE and BELOW are to be used. Do I have to do something special to get the blue square to form around a gadget or a table?



NAVIGATION ID 1000
    INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState
    INITIALOBJECTID 1001
    JUMPOBJECTID 1001
    BOTTOMLEFTOBJECTID 1005
    BEGIN
      ID 1001 BELOW 1003
      ID 1002 BELOW 1003 SKIP
      ID 1003 ABOVE 1001 BELOW 1004 FORCEINTERACTION
      ID 1004 ABOVE 1003 BIGBUTTON
      ID 1005 ABOVE 1003 SKIP FORCEINTERACTION BIGBUTTON
    END

NAVIGATION ID 2000
    INITIALSTATE kFrmNavHeaderFlagsObjectFocusStartState
    INITIALOBJECTID 2001
    NAVIGATIONMAP
      ROW 2001
          2002 SKIP
      ROW 2003 FORCEINTERACTION
      ROW 2004 BIGBUTTON
          2005 SKIP FORCEINTERACTION BIGBUTTON
    END
Ben


Ryan Rix wrote:
Hi,

Pilrc ships with examples, including an fnav example.
The docs also explain it quite nicely

~Ryan


--
Thanks and best regards,
Ryan Rix
TamsPalm - The PalmOS Blog

I begin to wonder if randomized sigs really accomplish anything.




On Friday 08 August 2008 08:02:38 pm Ben Rittgers wrote:
I am trying to do 5-way navigation on my Centro and cannot figure out
how to make the 5-way Navigation resources work.  Adding a navigation
either breaks scrolling (kFrmNavHeaderFlagsObjectFocusStartState) or
breaks tabbing between buttons (kFrmNavHeaderFlagsAppFocusStartState)

How exactly do I set up a fNAV resource in Pilrc?

I know it starts like

NAVIGATION ID 1100
      INITIALSTATE 0x00000002
        BEGIN
                ID 1007
        END

Is there an open source app that I can look at that uses the five way
button an d also uses Pilrc?

Ben




--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to