Nested Tab Control

Version 2

     

    Script

     

    Compatibility
    Creator
    Mac OS X, Windows
    Todd Duell
    FMP 9, 10, 11
    Formulations Pro
    Web: No
    File Type: FP7
    Server: Yes
    FileSize: ~ .71 megabytes
    http://www.formulationspro.com

    Description

    Ever since FileMaker released the tab panel users have been trying to figure out how to handle scripted navigation of multiple-nested tab panels. Once you leave a layout, then want to come back the tab panel reverts back to the default setting. The problem is that you may want to have the user return to the last setting, which is not the default setting. The GetLayoutObjectAttribute function certainly works well with a single tab panel. However, once you start to nest tab panels you're in for a nightmare to try and figure out which tab panels should be open when you navigate back to the layout. Since I've been asked to solve this dilemma by so many people the demo file will demonstrate two methods to solve the problem. The first method, for those that don't have FileMaker Advanced, solves the problem with two scripts. The second method uses a custom function and 2 very short scripts.

     


    Code

     

    Sample Input

    Sample Output


    Developer's Notes

    See sample file for full demo and technical article.

     


    FileMaker Inc. provides this content on an “As Is” basis, without any warranty, and subject to the terms of the FileMaker Technical Network Agreement. FileMaker makes no representations and is not liable for any content or related information. You may use the content as part of your own solutions and for your customers, but you may not otherwise publicly distribute any content that you did not submit. ©2009-2011 FileMaker, Inc. All Rights Reserved. FileMaker is a trademark of FileMaker, Inc. registered in the U.S. and other countries.