Solved

ComboBox lose focus with pressing keyboard arrow keys

Posted on 2011-09-30
3
742 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

786 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