Input Buttons?
- To: mathgroup at smc.vnet.net
- Subject: [mg42478] Input Buttons?
- From: markhahn2000 at yahoo.com (mark)
- Date: Thu, 10 Jul 2003 03:37:02 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
I want to run a program, display some intermediate plot and then prompt the user if they want to proceed or not. Putting buttons beneath the plot seems like a good idea, but I do not know how to have them pass the result back to the original funtion like test=Input["Continue? [y/n]"] would do. How can I do this with buttons? The only way I can figure to do this is to break my function at the buttons and then have the buttons call a second function with the variables passed globally (yuck!). Haven't found a good site explaining this stuff... would ultimately like to have buttoned dialog boxes and input boxes like you can do in another system with one line of code, but don't want to venture into JAVA script (at least for the project at hand). Any help appreciated, Mark