Solved

ComboBox lose focus with pressing keyboard arrow keys

Posted on 2011-09-30
3
752 Views
Last Modified: 2012-05-12
Hello!

I am working with Windows Forms. I have a DataGridView with several DataGridViewTextBoxColumns. When I enter a cell in the DataGridView, ComboBox is displayed in top of that cell - I am using ComboBox instead of DataGridViewComboBoxColumn, because DataGridViewComboBoxColumn becomes very slow when filled with more than 1000 items (I have several thousand).

The problem is: when my ComboBox receives focus, I can't take focus from it with only keyboard. For example: I am typing somethning in the ComboBox. Now I want to jump on the next DataGridViewCell with the keyboard pressing arrow key (and perhaps, pressing Esc key before) - nothing happnes. ComboBox doesn't loose focus, it's not responding either to Esc key, nor arrow keys. I have to use mouse to move to the next cell.

Any idea?
0
Comment
Question by:AntonioRodrigo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 13

Accepted Solution

by:
Naman Goel earned 250 total points
ID: 36890528
Actually DataGridViewComboBoxColumn is derived from DataGridViewColumn, on the other hand combobox is not derived from that. That's why it is behaving not in the way you expect.
0
 
LVL 5

Assisted Solution

by:AlokJain0412
AlokJain0412 earned 250 total points
ID: 36891212
U can use tab Key


 
0
 

Author Comment

by:AntonioRodrigo
ID: 36891238
Tab key doesn't work either.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question