Solved

DataGridViewComboBoxCell opening on single click

Posted on 2008-06-24
5
1,299 Views
Last Modified: 2008-06-27
I have a datagridview that is populated with DataGridViewComboBoxCells

Unfortunately, I find it inconveinent that you have to click twice on the cell to actually open the ComboBox.

What is the work around?
0
Comment
Question by:RishadanPort
  • 3
  • 2
5 Comments
 
LVL 6

Author Comment

by:RishadanPort
ID: 21859338
Doing

comboBoxcell.AutoComplete = true;

helps a bit, (reduces 1 click), but still the user needs to click twice.
Is there a command to open the combobox directly?
0
 
LVL 6

Author Comment

by:RishadanPort
ID: 21859377
Like a ComboBox iteself as a DropDown property. Is there such in here?
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 21864620
I would think that you want the cell to be in the edit mode when you enter it.
0
 
LVL 6

Author Comment

by:RishadanPort
ID: 21868642
the only thing that is contained inside the grid is a a bunch of comboboxes. I find it very inconveinent to have to first click on the grid location... then click on the combobox to open it. What are possible solutions?
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 125 total points
ID: 21880016
I mean EditMode = EditOnEnterCell.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

867 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

19 Experts available now in Live!

Get 1:1 Help Now