I’ve been fairly successful understanding how to use other components in JUCE, but the combo box has me puzzled. I’m simply trying to give the user 3 or 4 options then test for which of those were selected. I’m writing a small encryption app that gives the users 3 or 4 types of encryption, then when the encryption button is clicked, depending on what type is selected in the combo box, determines what happens in the button handler code. I can’t seem to find the right function calls or set it up correctly. I just have newlines between each item in the list of items in the Projucer and I can’t seem to understand how to test for each of the cases. I’ve tried the comboBox->isItemEnabled(//numberHere) and it seems to always return true no matter what number i put in and no matter which item in the combo is selected. I can’t seem to figure it out.
Any help would be much appreciated.