GUI? Combobox?

Hi.
For an assignment, I am to use a GUI. I know how to youe the buttons and text boxes and stuff but for this assignment I want to use a combo box to let the user choose a choice.

The problem is...I do not know how to give each of the choices a value so that i can use the values to do an if..else statement. I read many tutorials, but they were very unclear.

Please help :(
Topic archived. No new replies allowed.