GarrettC Posted September 13, 2005 Posted September 13, 2005 I cannot seem to figure out how to get a button to show a popup. Are these only available to fields? That would be a bad interface assumption on FileMakers part. I hope that is not the case. I have a row of buttons at the top of the window that run scripts. One of these buttons ( I had planned ) was to have a popup that displayed a value list (already created) that had a list of the other records in this table so that the user couid jump to the another record in the list. Thanks in advance.
mr_vodka Posted September 13, 2005 Posted September 13, 2005 Popups are for fields. You can have a button laid over a field with a popup menu. When you click the button, the script should select that field. This will allow the field to popup with the menu. However, since you want it to perform an event after you select the popup selection, you will need to use an Event Script plugin. There are many out there. I use the one by Gaston Forgues, http://www.softs4humans.com/FMPro_Plugins.html. I have it so that the script pauses right after selecting the field with the popup. When the user selects the choice you can have it in the rest of the script to go to the related record. There may be a better way of doing this, but this is the way I solved that issue.
GarrettC Posted September 13, 2005 Author Posted September 13, 2005 "Popups are for fields." I was afraid of that. That is a truly stupid interface assumption on FileMaker's part, sometimes I find it hard to believe that this company is affiliated (owned by ?) with Apple. A plugIn would not be an option in this case. "You can have a button laid over a field with a popup menu. When you click the button, the script should select that field. This will allow the field to popup with the menu." I am going to try this option, I'll report back my failure or success. Thanks again John, you saved me a lot of wasted time.
Ender Posted September 14, 2005 Posted September 14, 2005 I cannot seem to figure out how to get a button to show a popup. Are these only available to fields? That would be a bad interface assumption on FileMakers part. I hope that is not the case. Personally, I hadn't thought of doing this, nor have I heard of people needing to do this. :qwery:
GarrettC Posted September 14, 2005 Author Posted September 14, 2005 It is perfectly acceptable to use a popup to populate a field upon a user's choice in that list. It is a significantly more common practice to have a popup execute an action when the user chooses something from a list. It is in quite a few app building software: Flash, Acrobat, JavaScript, etc., but where you see an example of them more than anywhere is on the web, they are everywhere. Maybe the FileMaker folks should think about adding them...
GarrettC Posted September 14, 2005 Author Posted September 14, 2005 This is only a test. I am having some trouble with my email replies...
Ender Posted September 14, 2005 Posted September 14, 2005 It is a significantly more common practice to have a popup execute an action when the user chooses something from a list. That's different from what you originally asked. A pop-up would be attached to a field (not a button.) Follow mr_vodka's advice for getting a script to execute automatically after selecting from a pop-up.
Recommended Posts
This topic is 7011 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 accountSign in
Already have an account? Sign in here.
Sign In Now