We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Tabbing issues

Thread ID:

Created:

Updated:

Platform:

Replies:

21865 Nov 24,2004 02:54 PM Nov 29,2004 05:33 AM Windows Forms 3
loading
Tags: GridControl
Ted Osberg
Asked On November 24, 2004 02:54 PM

I currently have a grid initialized with several rows already in it for user interaction. when the user first tabs into the grid, I notice that there is no focused cell. When they hit tab again then the 1st column header has a focus rectangle around it. My question is this: I want the user to be able to tab into the First Cell of the First Row when coming from another control, not the 1st column header. How can I make this work?

Administrator [Syncfusion]
Replied On November 24, 2004 05:17 PM

The default behavior is for the focus to go to the last cell that was current when the grid gets focus. Initially, if there is no current cell, the focus goes to cell 0,0 which is what you are seeing. One way around this is to set the current cell in formload. This way when the user tabs into the grid, the focus will go to that cell. this.gridControl1.CurrentCell.MoveTo(1,1);

Ted Osberg
Replied On November 29, 2004 05:31 AM

You mean in the ''Load'' event of the form?

Ted Osberg
Replied On November 29, 2004 05:33 AM

I got it. No need to reply. >You mean in the ''Load'' event of the form?

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;