Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

DataGridViewComboBoxCell opening on single click

Posted on 2008-06-24
5
Medium Priority
?
1,355 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
[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
  • 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 500 total points
ID: 21880016
I mean EditMode = EditOnEnterCell.
0

Featured Post

Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The purpose of this article is to demonstrate how we can use conditional statements using Python.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

670 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