Is it possible to tab between cells? |
Post Reply |
Author | |
RobinG
Groupie Joined: 07 May 2006 Location: United Kingdom Status: Offline Points: 16 |
Post Options
Thanks(0)
Posted: 29 November 2006 at 9:03am |
I have a reportcontrol which I'm using as an editable grid - Is it possible to use the tab key to advance onto the next "cell"?
Prior to the edit begining it is possible to intercept key strokes via KeyDown() events, but once the edit begins I cant seem to find a way of getting notifications...
Any ideas?
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Something like:
should help... -- WBR, Serge |
|
RobinG
Groupie Joined: 07 May 2006 Location: United Kingdom Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Serge,
Thanks for the tip!
|
|
RobinG
Groupie Joined: 07 May 2006 Location: United Kingdom Status: Offline Points: 16 |
Post Options
Thanks(0)
|
Just as a followup.... I was using 9.81 which did not have the KeyDownPreview event, so i finally I made the switch to 10.3.1
Once using 10.3.1, I found that pressing the tab key never caused the event to fire - the report control just lost focus when it was pressed.
I managed to get the event to fire for TAB by setting the "TabStop" property for the other controls on my form to false (I only had 2 so no problem there!) - now I can detect the tab key and move to the next cell.
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |