4 Replies Latest reply on Aug 14, 2012 10:29 PM by philmodjunk

    Tab Controls, Lists and Portals

    brodlang

      Title

      Tab Controls, Lists and Portals

      Post

       I'm just a novice programmer and learning the ropes with FMP. Hoping you can help me with a couple of answers on basics so I can either find out how to use them or work around them.  I'm using FMP Advanced on Windows 07.

      Is there any way I can format or script fields or layouts so that I can navigate with the cursor keys instead of just tab, enter, mouse or control (up/down)?  I use a lot of list layouts.  Depending on the parent table the ctl up/down in the list can change the whole record.

      Same question again, but specifically for portals.  If find them to be a great tool, but difficult to navigate. Seems you can only get to the next record by tabbing or mouse.  Control down changes the active record the portal is based on (similar to above).

      Finally, can I have a "list" layout on a tab control?

      Many Thanks,

      brodlang

        • 1. Re: Tab Controls, Lists and Portals
          davidanders

          A keystroke mapping utility may be able to do this. Although a cntrl - arrow would probably be needed.

          Google "windows keystroke macro"

          A voice control program may work.  Dragon is often suggested.

          • 2. Re: Tab Controls, Lists and Portals
            philmodjunk

            What Operating system do you have? Ctrl-up arrow and Ctrl-down arrow move you upd and down through a list or table view of records on a windows system.

            Recent versions of the Mac system have interfered with these options, but you can restore them.

            From the Filemaker Training Series, Pg 1-16:

            Mac OS Lion shortcuts:

            This key command [Control-up/controldown] is not functional in Mac OS X Lion wihout certain alterations. To re-enable this function, open System Preferences > Mission control. In the keyboard and mouse Shortcuts section, you will see tht the default setting has Mission control and Application windows using the up/down arrows. Change those settiings either to a different keystroke or to - [blank], depending on your preference.

            • 3. Re: Tab Controls, Lists and Portals
              brodlang

              Thanks,

              I'm using Windows 07.  I have what I think would be a typical problem.  I have a layout based on a parent record with with a portal based on a child table.  There can be many records in the portal. My users often need to navigat the portal.  What's happening now is that they must tab through each field in a record to get to the next record. The other option that works, but is also not efficient, is to use the mouse on the scroll bar and then mouse to the record when found.  What I would like is for them to simply use the up or down cursor keys.  Control up or down would be acceptable, but that changes the Parent record - and of course the related portal. I have devised a find script that will keep the current parent record locked, but it does not help with the portal navigation issue (control up/down will change the record number in the status tool bar, but the field focus on the portal does not change).

              • 4. Re: Tab Controls, Lists and Portals
                philmodjunk

                Take a look at the OnObjectKeystroke script trigger. You can set this on each of the fields in the portal, for example, or on the entire layout in some cases by using OnLayoutKeystroke. THis can perform a script that checks the keystroke (get (TriggerKeystroke) ) and uses go to portal row to move up or down the portal when the up or down arrow is pressed.