I need help with my radio buttons...
I am creating an application that dislays the number of daily calories needed to maintain your current weight.
The moderately active female will have total calories per day = weight * 12 calories
The relatively inactive female will have total calories per day = weight * 10 calories
The moderately active male will have total calories per day = weight * 15 calories
And the relatively inactive male will have total calories per day = weight * 13 calories
I have created a GUI interface with two group boxes. One group box contains two radio buttons Male & Female, the other group box contains Moderately & Relatively inactive radio buttons.
I have a label and a text box prompting the user for their weight, two labels to display the number of daily calories needed to maintain their weight, and three buttons (Calculate, Clear, and Exit)
I need to know how I can create a Sub procedure that tells me when each radio button is checked, and how I can incorporate the results into my If/ElseIf/Else code?
I am creating an application that dislays the number of daily calories needed to maintain your current weight.
The moderately active female will have total calories per day = weight * 12 calories
The relatively inactive female will have total calories per day = weight * 10 calories
The moderately active male will have total calories per day = weight * 15 calories
And the relatively inactive male will have total calories per day = weight * 13 calories
I have created a GUI interface with two group boxes. One group box contains two radio buttons Male & Female, the other group box contains Moderately & Relatively inactive radio buttons.
I have a label and a text box prompting the user for their weight, two labels to display the number of daily calories needed to maintain their weight, and three buttons (Calculate, Clear, and Exit)
I need to know how I can create a Sub procedure that tells me when each radio button is checked, and how I can incorporate the results into my If/ElseIf/Else code?
Comment