Click here to Skip to main content
12,399,471 members (57,668 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
Focus to another column when ComboBox in DataGridView is click or key pressed.

how to focus to next cell in teh column when combobox in datagridview was clicked or enter key is pressed by user ?.

for that how to write the code using c sharp in windows application.
Posted 6-Jan-13 21:03pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Did you try anything so far? You asked same/similar question couple of days back: DataGridView in windows application using CSharp[^]

Please try out and see, it might not be difficult. You need to Capture the KeyPress event of DataGridView Cell.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

For you to type in every step of your application here and wait for code, is not programming. In 11 hours, you've posted 8 questions here. If you get all your answers, you'll have done about 2 hours work. I hope you're not being paid for this.

You can handle your key press events, and you can set the focus to another cell. All of this is trivial, and self documenting through intellisense.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100