Solved

ComboBox lose focus with pressing keyboard arrow keys

Posted on 2011-09-30
3
731 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
Comment Utility
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
Comment Utility
U can use tab Key


 
0
 

Author Comment

by:AntonioRodrigo
Comment Utility
Tab key doesn't work either.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
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 video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now