7 Replies Latest reply on Dec 14, 2011 9:59 AM by Mike_Mitchell

    How can I show the status bar when entering Layout mode?

    KylePutzier

      How can I show the status bar when entering Layout mode?

       

      Kyle

        • 1. Re: How can I show the status bar when entering Layout mode?
          Mike_Mitchell

          Kyle -

           

          Three ways:

           

          1) Click the status bar icon in the bottom left-hand corner of the window (it's the one that looks like it's wearing a hat):     tools.png

           

          2) Choose View / Status Toolbar:

           

          view.png

           

          3) Press Ctrl-Alt-S (on Windows; not sure what the equivalent on the Mac is at the moment).

           

          Or did you mean something other than that?

           

          Mike

          • 2. Re: How can I show the status bar when entering Layout mode?
            paulspafford

            Hey Kyle,

             

            In the Layout Setup dialog, go to the Script Triggers tab. Select the OnModeExit trigger and connect it to a script that shows the status area.

             

            The only time this won't work is when exiting Layout mode.

             

            Paul

             

             

             

            --

            Paul Spafford

            FileMaker Database Superhero,

            Spafford Data Solutions

             

            Tel: 613 838 9956

            www.paulspafford.com

            www.ottawafilemakerdeveloper.com

            www.fmlayoutmode.com

            www.fmscripts.com

             

            FileMaker User Group in Ottawa:

            www.meetup.com/fudgeo

            • 3. Re: How can I show the status bar when entering Layout mode?
              KylePutzier

              Paul,

               

              I forgot to mention that I want  to automatically hide the status bar on all other modes. Your answer gets me there though.

              I got stuck on testing for Get(windowMode) = 4 when exiting or entering a mode. OnModeExit doesn't trigger at the correct time. OnModeEnter doesn't trigger at all when entering layout mode.

              What I can do is:

              Always show the Status Bar via a OnModeExit

              Always hide the Status Bar via a OnModeEnter if Get(WindowMode) <> 4

               

              This is just so I (the developer) can get to the developer tools easily. The users use the nav tools I supply.

               

              Kyle

              • 4. Re: How can I show the status bar when entering Layout mode?
                MicheleOlson

                Hi Paul,

                 

                Nice tip, which caused me to experiment.

                 

                If you want to keep the status area hidden when in Browse, Find or Preview, attach a Show/Hide Status Area script to the Layout script trigger On Mode Entry.

                 

                With both Hide Status (OnModeEntry trigger) and Show Status (OnModeExit trigger) scripts attached, the status will always show in Layout mode and will hide in the others.

                 

                I found I needed to be two separate scipts to work the way I wanted. The Mode Exit script trigger runs when leaving any mode except Layout, where scripts stop running. Both run when entering or exiting the other modes.

                 

                Thanks for the tip and direction.

                 

                Michele

                • 5. Re: How can I show the status bar when entering Layout mode?
                  RayCologon

                  Mike_Mitchell wrote:

                  ...Press Ctrl-Alt-S (on Windows; not sure what the equivalent on the Mac is at the moment).

                   

                  On Mac it's Command+Option+S.

                   

                   

                  paulspafford wrote:

                  ...Select the OnModeExit trigger and connect it to a script that shows the status area.

                   

                  The only time this won't work is when exiting Layout mode...

                   

                   

                  True - but it would need to be applied indigvidually to every layout, and will also have the side-effect of showing the Status Toolbar when moving between any other two modes, which appears to be somewhat outside Kyle's brief (unless the intent is to have the Status Toolbar showing at all times, in which case simply including Show/Hide Status Area [Lock; Show] in an OnFileOpen script might be a simpler and more direct method.

                   

                  Of course you could add an OnModeEnter trigger to call a script that hides the Status Toolbar, for an interesting and somewhat funky effect, but I'm afraid it would result in a fair bit of flashing/flckering while changing modes in normal use. So I'm afraid it would be a case of placing developer convenience above the user experience.

                   

                  Regards,

                  Ray

                  ------------------------------------------------

                  R J Cologon, Ph.D.

                  FileMaker Certified Developer

                  Author, FileMaker Pro 10 Bible

                  NightWing Enterprises, Melbourne, Australia

                  http://www.nightwingenterprises.com

                  ------------------------------------------------

                  • 6. Re: How can I show the status bar when entering Layout mode?
                    paulspafford

                    Yep, Ray's right. This would take a lot of extra work to apply to all layouts.

                     

                    You may want to add something like this to your opening script:

                     

                    If     PatternCount ( Get ( AccountPrivilegeSetName ) ; "Full access" )

                         Show/Hide Status Area (Show)

                    Else

                         Show/Hide Status Area (Lock; Hide)

                    End If

                     

                     

                    That means that you will always be seeing the status area, and your users never will. Since you're always wanting it for when you're in Layout Mode anyhow, that may be a good thing. It may be easier for you to just turn it off whenever you don't want it, then it is for you to turn it on for all the times you do want it.

                     

                    Paul

                     

                     

                    --

                    Paul Spafford

                    FileMaker Database Superhero,

                    Spafford Data Solutions

                     

                    Tel: 613 838 9956

                    www.paulspafford.com

                    www.ottawafilemakerdeveloper.com

                    www.fmlayoutmode.com

                    www.fmscripts.com

                     

                    FileMaker User Group in Ottawa:

                    www.meetup.com/fudgeo

                    • 7. Re: How can I show the status bar when entering Layout mode?
                      Mike_Mitchell

                      Sorry for the silly answer. Didn't understand the question.