C
chreo
Hello.
I have datagrid.
I found code to select all row in data grid (by mouse or arrow keys).
This works great - user can select row and...
....and I want to go to next control.
For example:
User writes something in textbox - then hits TAB to go to datagrid...
....in data grid user choose row by arrows (up and down) and he want to go to
next control (for example combobox)...
....user hits TAB but it comes to next column in datagrid...
WHAT SHOULD I DO TO GO OUT FROM DATAGRID WITH TAB KEY?
I have tried to use keypress or something like that, but:
-maybe I did it wrong (then please show short code how to do that)
-or maybe DATAGRID.KEYPRESSED doesn't work when I have some cell selected...
....I don't know how to explain what am I talking about...
is it possible that CELLS in DATAGRID are like little controls? and when I
press TAB in datagrid then I press TAB in cell not in datagrid?
I want use all datagrid like one big control (like big listbox for example)
:
previous control --> TAB --> DATAGRID --> TAB --> next control
I have datagrid.
I found code to select all row in data grid (by mouse or arrow keys).
This works great - user can select row and...
....and I want to go to next control.
For example:
User writes something in textbox - then hits TAB to go to datagrid...
....in data grid user choose row by arrows (up and down) and he want to go to
next control (for example combobox)...
....user hits TAB but it comes to next column in datagrid...
WHAT SHOULD I DO TO GO OUT FROM DATAGRID WITH TAB KEY?
I have tried to use keypress or something like that, but:
-maybe I did it wrong (then please show short code how to do that)
-or maybe DATAGRID.KEYPRESSED doesn't work when I have some cell selected...
....I don't know how to explain what am I talking about...
is it possible that CELLS in DATAGRID are like little controls? and when I
press TAB in datagrid then I press TAB in cell not in datagrid?
I want use all datagrid like one big control (like big listbox for example)
:
previous control --> TAB --> DATAGRID --> TAB --> next control