1 Reply Latest reply on Jan 15, 2015 11:31 AM by philmodjunk

    Is there any way to make button not clickable in search mode?

    danlee

      Title

      Is there any way to make button not clickable in search mode?

      Post

      What is happening is that when people click button to enter search mode they click on another button (instead of pressing enter on keyboard) which takes them to another layout and when they are in that layout it is still in search mode.  So they are confused at what just happened.  

        • 1. Re: Is there any way to make button not clickable in search mode?
          philmodjunk

          If this is FileMaker 13, you can make the button disappear by setting it's Hide Object When property with this expression:

          Get ( WIndowMode ) = 1

          In all versions, you can modify the script performed by that button to be:

          If [ Get ( WIndowMode ) ≠ 1 ]
            Put current script steps here
          End IF

          If this button performs a single script step selected in Button Setup, you can create a script for the same script step plus the above If block and change button setup to perform this script.