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
int
values, initialized to 0s. In theTComboBox::OnSelect
event, increment the appropriate array item based on the index reported by theTComboBox::ItemIndex
property.