Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TAB BUTTON

Featured Replies

Hi Filemakers,

Does anybody knows how to add a button to the TAB order and have it activated by pressing ENTER.

You can add it to the TAB order by going to Layout Mode, Then going to Set Tab Order under the Layouts menu. Not sure about doing buttons if that is possible.

You must be trying to automate something in windows smile.gif

nope. you can not access a button with a tab.

Sorry,

Lee

smile.gif

Hi Lee,

If you are on Windows with WSH installed, try this.

It shows how to trigger a script by tabbing in a field.

You have to do tab + <space> though.

cool.gif

button with tab.zip

Hi Christian,

I'm on a Mac cool.gif

I know how to do workarounds to activate a script upon entering or exiting a field. However the question was how to get a button into the tab order and AFAIK it can't be done.

Lee laugh.gif

But what do you need the button for if you just want to tab into the field? Since you can make any Layout object a button, you could even have both ways of accessing it. Anyway, it's a hack, is slow & does probably not work on every [windows] computer.

So maybe, if you could share your wisdom & tell the forum your workarounds to activate a script upon entering or exiting a field, this would be great.

Lee, btw.,

How do you like the visibility trick with the container fields? Was new to me, just came across it. (works on mac, too)

Hi Christian,

I didn't need to do this, this was the question asked by pvivacqua. I was only responding.

As far as me sharing my wisdom (what a laugh grin.gif ) with a way to activate a script when entering or exiting a field, I just answered this question in another thread "enter and script" asked yesterday (I believe) in this Forum. Basically the workarounds I know of are, to use a looping script, or use a value list and hard code the values in a script that will activate when you click outside the field. Samples of both can be obtained at these URLs:

"Script Execution on Exiting Field" by Al Fleming URL:

http://www.fmfiles.com/tnt8.html

"More Field Exit" by James E. Mastrianni URL:

http://www.databasepros.com

My preference is the value list and a script.

HTH

Lee laugh.gif

[color:"blue"]Lee, btw.,

How do you like the visibility trick with the container fields? Was new to me, just came across it. (works on mac, too)

I'm not sure which file you are referring to, please expand as to name of file and author?

TIA

Lee confused.gif

was referring to my attachment above.

If you have to container fields positioned exactly aligned, the one in the back does not display when active as text fields do. However, when the field is rotated 180

Hi Chrstian,

Well I didn't download it before becuase you said it was windows only and that I would need WSH (whatever that is). Okay, so now I download it and by golly it is a widows only file. grin.gif

However, funny thing, I could see it work a little.

Lee

cool.gif

Did somebody say... container field? I think that's the Evil FileMaker Hack you're looking for. I.e., rather than putting the button directly on the layout, paste the button graphic into a container field. Now you can start a script like this:

Loop

..Pause

.. If [status (CurrentFieldName) = "myButton"]

.. .. Show Message ["Hello World"]

.. .. Exit Script

.. End If

End Loop

You could do this more elegantly with a plugin such as Events or www.troi.com/software/activatorplugin.html " target="_blank">Troi Activator.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.