Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7859 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted

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)

Posted

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

Posted

[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

Posted

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

Posted

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

Posted

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.

This topic is 7859 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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