Howdy, Stranger!

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

Sign In with Facebook Sign In with Google Sign In with OpenID

Categories

We have migrated to a new platform! Please note that you will need to reset your password to log in (your credentials are still in-tact though). Please contact lee@programmersheaven.com if you have questions.
Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

I'm About to Explode with Frustration

Someone1Someone1 Posts: 1Member
I am brand new to programming and I am totally lost in class. Can anybody help me with the following, I have make a unit converter, at the top it needs to have a text box where a value can be entered, below that it will have two group boxes, one called Convert From listing inches, feet, yards, and miles as radio buttons. The next group box will have the same but it will be called Convert To. Beneath the group boxes there are two labels, one that is simply a label "Results" and the other should display the results of the conversion "n6". Then beneath that there are two buttons one "Reset" button and one "Exit" button. I do not know how to code this so that the radio buttons connect to the text box and then perform the conversion to the results label. I also I have no clue as to how I code the reset button. PLEASE HELP before I need to be admitted to a psych ward. Thank you very much.

I have included an attachment to assist.

Comments

  • JTB600AJTB600A Posts: 4Member
    use a textchanged event procedure, and the val() of the textbox,
    also use a select case or nested if/then's to determine which conversion to use when either radio button is selected.

    I've done a bunch of things with Reset Buttons, real easy, all you need to do is set everything that can be changed to the original state, like this pseudo code for the reset button

    sub procedure btnReset_Click(blah blah) handles btnReset.click,
    textbox1 = nothing
    textbox2 = nothing
    converted result label = nothing
    end sub
Sign In or Register to comment.