benmayo Posted December 29, 2012 Posted December 29, 2012 Dear FileMakers, I'm trying to create a single button with three different states, through which the user can toggle. I've completed the following tutorial: http://www.filemaker.com/11help/html/fmpa_tools.24.23.html ...and have the button with it's three different colours toggling nicely. Where I'm stuck is attaching a value to the different states. How do I get the button to output values (1, 2 and 3) into a field? Thanks in advance, Ben
Lee Smith Posted December 29, 2012 Posted December 29, 2012 Hi Ben, and welcome to the Forums The State of a button, i.e., In Focus, Hover and Pressed, has nothing to do with the script. Look at Show Custom Dialog. Lee
benmayo Posted December 30, 2012 Author Posted December 30, 2012 Thanks Lee, very helpful. As a first poster, it's great to get a response from the man whose contributions to this forum have helped me so many times. Ben
benmayo Posted January 1, 2013 Author Posted January 1, 2013 Hi Lee, I think I may have confused the situation with my incorrect terminology. What I'm trying to achieve: On the first click of the button, the value in the field is 1 On the second click, the value in the field is 2 And so on... I'm not trying to make the button change shape as I hover over it. Thanks for your help. Ben
doughemi Posted January 1, 2013 Posted January 1, 2013 See if this helps ProgressiveButtons.fmp12.zip
Lee Smith Posted January 1, 2013 Posted January 1, 2013 I looked at Doug's file, and I don't think that is what your are asking for. IIUC, you are wanting to move from field to field? Ir so, what is the purpose or criteria? Did you want the user to interact with it? i.e. option one, option two, option three? Lee
benmayo Posted January 2, 2013 Author Posted January 2, 2013 Hi Lee, Doug, My fault for not being clear in my explanation and causing confusion - but Doug hit the nail right on the head. Thanks so much for going to the trouble of making that up for me. The user selects ok / not ok / not available. The field with the number is hidden, they just simply use the colours.
Recommended Posts
This topic is 4343 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