The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Radio buttons
Replies: 1   Last Post: Mar 12, 2013 6:24 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Barry Williams

Posts: 312
Registered: 6/14/06
Re: Radio buttons
Posted: Mar 12, 2013 6:24 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

zack00 <> wrote in message <>...
> Hi
> I have 3 radio buttons..If i close a window and reopen I want to remember which radio button was checked.
> If I set a Value on one on these radio button 1 and I close and reopen window still same radio button is check
> can you help me?

How about adding a function associated with a 'Close' button that writes a initialization file with the states of the radio buttons that you want to be checked when you reopen the GUI? When the GUI starts, the function that initializes it can read those values and set the buttons according to their previous states. In that case, you may want to include default values in case the initialization file is missing or can't be found.


Date Subject Author
Read Radio buttons
Read Re: Radio buttons
Barry Williams

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.