471,888 Members | 2,402 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,888 software developers and data experts.

Open picklist from ComboBox dropdown

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
0 2494

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by jean | last post: by
7 posts views Thread by NCrum | last post: by
reply views Thread by Mike | last post: by
4 posts views Thread by Kalvin | last post: by
5 posts views Thread by Gil | last post: by
4 posts views Thread by Andrus | last post: by
reply views Thread by YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.