Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DataGrid Navigation

Status
Not open for further replies.

hansu

Programmer
Mar 12, 2002
89
I want to enable the user to navigate the cells, columns and rows of a datagrid with the tabkey.
I set the datagrid's properties as follows:

.AllowArrows = True
.TabAction = dbgGridNavigation
.WrapCellPointer = True

According to the docu that should enable the tab key as desired but it only works in the last cell of a row going to the first cell of the next row. Thanks for any help.
 

i think

it should be

.TabAction = dbgColumnNavigation

that should solve ur problem.

HTH
Gazal
 
Thanks for your suggestion gazal.
I tried that but it didn't change anything. It's also strange that in the AddNew row the arrow keys don't work either.
 
Ok

have u set some DataSource for the Grid or Not,
Secondly, check for the AlloAddNew property is set to True or not.
And still if it doesn't work then remove the grid and put it back again...

HTH
Gazal
 
Have tried everything. But still the same problem. Really weird.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top