The Interactive Geometry Software Cinderella
Forums-> Cinderella Support (E)-> Radio buttons
mmacklem
|
Radio buttons
|
|
Hi,
I am writing an application which involves incorporating a number of different distance metrics. I wanted the user to be able to specify only one of them at a time, which would be easiest with a Radio-button style of object. However, since I can only determine how to use regular buttons, I wanted to simulate a radio-button by defining several regular-buttons, and define the behaviour of each so that when one is pressed, the script unpresses any others that are pressed. Unfortunately, while I can determine within the script the state of a button, I've been unable to determine how to force the behaviour of a button within the script. Any ideas/suggestions? I haven't been able to find anything on buttons in the online documentation.
Thanks,
Mason
|
|
|
|