By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,552 Members | 905 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,552 IT Pros & Developers. It's quick & easy.

Combobox hover triggers SelectedIndex change?

P: 116

I have a combobox on a form that has a timer that has to use the combobox selectedindex at regular, frequent intervals.

It seems when I hover the mouse over the combobox list (ie to make my decision) the timer uses the item I'm hovering over as the selectedIndex instead of the actual SELECTED Index.

How do I prevent this behaviour?

At the moment I am using SelectionChangeCommitted to trigger the selectedIndex of the combobox to be stored as the Tag. Then use the Tag value when needed.

Is there a more obvious way or a more foolproof way?

Sep 5 '13 #1
Share this Question
Share on Google+
1 Reply

P: 116
I decided to just keep it as renaming the tag and referencing that - seems the only answer and works ok
Sep 11 '13 #2

Post your reply

Sign in to post your reply or Sign up for a free account.