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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP PLEASE! DBGrid & KeyCodes

Status
Not open for further replies.

hortensiam

IS-IT--Management
Feb 5, 2002
86
0
0
AR
Hi!,
When the focus is in the DBGrid Control and I press the TAB key, the focus jump to the next control in the form and I want to jump to the next cell of the DBGrid!. Why? How can I do this?
Another thing, does anybody know how is the event chain of the datagrid control when I press a key?
Thanks,
 
>event chain

Basically:

KeyDown
BeforeColEdit
Press
Change
KeyUp
>Leaving column
BeforeColUpdate
AfterColEdit
AfterColUpdate
BeforeUpdate

>Tab key

Set the to TabAction property:

DataGrid1.TabAction = dbgGridNavigation
AfterUpdate [/b][/i][/u][sub]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top