Jump to content

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

Recommended Posts

Posted

Yes, it's another newbie question to find some similar

Access function in FM!!!

1) Is there such a thing as "tool tips", you know it's the text info that you get when you leave your pointer over a button for a period of time and this little text box appears.

2) Is there a way to attach scripts to events, like when you enter or exit a field, when you change data in a field, etc.

Thanks for your advice

--Dan

Posted

quote:

Originally posted by DannyA:

1) Is there such a thing as "tool tips", you know it's the text info that you get when you leave your pointer over a button for a period of time and this little text box appears.

Unfortunately not. A way that I did this was to make the text labels on the fields an actual text field. Specifically a field in a related Preferences database. I setup the text in the field like this:

"Name

Enter the name of the primary contact for this record."

Then I formatted the field so that only the first line showed. So it showed "Name" on the layout and if the user clicked on it they saw the rest of the field.

quote:

2) Is there a way to attach scripts to events, like when you enter or exit a field, when you change data in a field, etc.

There are several plugins that do this. Do a search on Filemaker's website for plugins and you should get a listing of them.

Posted

Hey Danny.

Another workaround for the tool tips is to use the Status( CurrentModifierKeys) function in the script. Start each script with these commands:

If [ Status( CurrentModifierKeys) = 1 ]

Show Message [ Buttons: "OK", "", ""; Data: "This is the text for your tool tip." ]

Exit script

Else

***Insert the rest of the script here.***

End If

All the users have to do is hold down the SHIFT key when they click the button, and the message box will pop up with your tool tip. If they click without holding the shift key, the script performs it's usual function.

Paul

This topic is 8510 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.