February 14, 200223 yr Wrote a little "jump menu" script: When you click on a popup list, it calls a script that puts the cursor in the menu and starts a 1 second loop that waits for status(currentfieldname) to not equal the popup list fieldname. Then it calls a subscript that does something. Similar to popups on the web that take you to different pages after selection without having to hit a "GO" button. It works great on my Mac FM 5.5v2 but not a friends PC FM 5.5v2. On his, he sees the list for a split second and then it goes away but the loop is still running. Any ideas? [ February 14, 2002, 11:51 AM: Message edited by: signal ]
February 14, 200223 yr Rather than checking whether you are still in the field, why not check to see if the field has taken on a new value like this: code: Exit Record/Request Set Field [gPopUp, ""] Go to Field [gPopUp][select/Perform] Loop Pause/Resume["0:00:01"] Exit Loop If [gPopUp <> ""] End Loop # continue with rest of script
February 14, 200223 yr Author Not an encouraging answer when I'm writng this for thousands of PC users and maybe 5 Mac users. -)
February 14, 200223 yr Yes. I know. I work on a Mac, which is probably not a smart idea if my users are all going to be on PC's.
February 14, 200223 yr Try formatting the field as a popup menu rather than popup list and see if that works. I have a similar script for a dropdown list that works OK on PC. Demo is at my site: http://www.tgparker.com/filemaker Download dropdown.zip Tom [ February 14, 2002, 03:26 PM: Message edited by: Tom Parker ]
Create an account or sign in to comment