
In MyForm I have a ComboBox (myComboBox) with EnumType myEnumType.
I want to get its value.
To get the value of the ComboBox use the selection method
if(myComboBox.selection() == myEnumType::Value1)
{
//action
}

In MyForm I have a ComboBox (myComboBox) with EnumType myEnumType.
I want to get its value.
To get the value of the ComboBox use the selection method
if(myComboBox.selection() == myEnumType::Value1)
{
//action
}
More Posts
how can I use selection() to set the selected option on a comboBox?
LikeLike
Leave a reply to Oscar Cancel reply