Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

radio Button.

raja_shyamraja_shyam Member Posts: 5
Hi every one. I ve designed a GUI but stuck with the functionality.The form has many radio buttons and other controls on it.Once i select the required radio buttons and press OK button.I need to display the status of the radio button if it is selected or not in a notepad file. How do i achieve this Pls help !!!!!

Thank you
Sam

Comments

  • LundinLundin Member Posts: 3,711
    What is it you don't know how to do, more specifically?
  • raja_shyamraja_shyam Member Posts: 5
    This post has been deleted.
  • raja_shyamraja_shyam Member Posts: 5
    : What is it you don't know how to do, more specifically?
    :

    Hey Thanks you so much for the reply.
    Hey i have to access the status of the radio button and print it to a notepad file. As in which radio button is selected and which is not. All these have to be saved in a note pad file. havin prob with the code part.

    Thank you
    Sam
  • LundinLundin Member Posts: 3,711
    Each radio button has a property called "checked" or similar, I don't remember the exact name in Visual Studio. So all you need to do is to add code like this (pseudo code):

    [code]if(myRadioButton->Checked == true)
    {
    writeToFile(x);
    }
    else
    {
    writeToFile(y);
    }[/code]
Sign In or Register to comment.