I am trying to get the text that is choosen in a comboBox.
I have tried these codes but no of them are working. What am I doing wrong here ?
std::string Text;
// I have tested all 4 of these and this will not compile.
//I belevie it has to be something with SelectedItem.
Text = comboBox3->Text;
Text = comboBox3->Text->ToString();
Text = comboBox3->Item->ToString();
Text = comboBox3->SelectedItem();