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

Open picklist from ComboBox dropdown

P: n/a
SWF ComboBox dropdown menu first item selection must open picklist.
For this I use the following code:

protected override void OnSelectedIndexChanged(System.EventArgs e) {
if (SelectedIndex != 0 || DropDownStyle != ComboBoxStyle.DropDown) {

This causes picklist to open immediately if keyboard arrow key *activates*
to this item.
How to force OpenPickList() call only if user *selects* first menu item from
keyboard using enter or closing menu by F4 ?
Using mouse this works OK: OnSelectedIndexChanged does not occur if mouse
activates first item.
Why OnSelectedIndexChanged when first item is selected from keyboard ? How
to postpone this event until dropdown menu is closed ?

Feb 10 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.