Force dropdown of DataGridViewComboBoxox

H

hvj

Any help would be appreciated:

Is it possible to programmatically force a datagridviewcombobox to
open its dropdown?

The reason is, I have to click twice one the cell to make it drop
down:
one to get focus and the next click to drop down. I want it to drop
down at the moment it gets focus.

Regards,
Henk
 
H

hvj

Any help would be appreciated:

Is it possible to programmatically force a datagridviewcombobox to
open its dropdown?

The reason is, I have to click twice one the cell to make it drop
down:
one to get focus and the next click to drop down. I want it to drop
down at the moment it gets focus.

Regards,
Henk

Setting datagridview.EditMode = EditOnEnter did the trick. Now I only
have to click once for dropdown.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top