signal Posted February 14, 2002 Posted February 14, 2002 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 ]
BobWeaver Posted February 14, 2002 Posted February 14, 2002 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
signal Posted February 14, 2002 Author Posted February 14, 2002 I'll try that. Thanks. Any idea why my try didn't work on a PC?
signal Posted February 14, 2002 Author Posted February 14, 2002 Not an encouraging answer when I'm writng this for thousands of PC users and maybe 5 Mac users. -)
BobWeaver Posted February 14, 2002 Posted February 14, 2002 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.
tlsparker Posted February 14, 2002 Posted February 14, 2002 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 ]
Recommended Posts
This topic is 8322 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