johnt68 0 Junior Poster in Training

Greetings;)

I have a conversion program with a combo box

miles to kilometres
kilometres to miles .... type of thing.

I have two labels and two text boxes
From: Says what converting from typed in
To: Outputs the conversion

What I want to happen is the label From to match the combo box choce and the label To: to match the combo box choice. For example-

When combo box choice is miles to kilometres
Miles: Says what converting from typed in
Kilometres: Outputs the conversion


Do I have to do this with if elses / sitch or is there some other way of linking the two?

Thank you:)