I need your help to resolve my problem.
I have a ComboBox with 2 items: StackExchange, and StackOverflow.
I want to know how to count of how many times StackOverflow item was selected and put the results in a messagebox.
Thanks and Regards.
I need your help to resolve my problem.
I have a ComboBox with 2 items: StackExchange, and StackOverflow.
I want to know how to count of how many times StackOverflow item was selected and put the results in a messagebox.
Thanks and Regards.
Create an array of two
intvalues, initialized to 0s. In theTComboBox::OnSelectevent, increment the appropriate array item based on the index reported by theTComboBox::ItemIndexproperty.