September 13, 200520 yr 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.
September 13, 200520 yr 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.
September 13, 200520 yr Author "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.
September 14, 200520 yr 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:
September 14, 200520 yr Author 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...
September 14, 200520 yr Author This is only a test. I am having some trouble with my email replies...
September 14, 200520 yr 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.
Create an account or sign in to comment