469,167 Members | 1,236 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,167 developers. It's quick & easy.

Can't respond to tab keypress with MSHFlexgrid

I've designed a nice little App that works something like a spreadsheet
using the MSHFlexgrid control. Many users are inclined to press the tab key,
expecting the program to respond like excel would but it doesn't. It simply
leaves the MSHFlexgrid ang they loose the data they were entering in the
particular cell.

Is there some way I can receive the tab keypress in some event processing
routine so I can respond as I do with a return keypress without VB taking
the user out of MSHFlexgrid to the next control in the tab sequence ?
Jul 17 '05 #1
1 3328
I found the answer to my own question. All I had to do was set the tabstop
property of all the controls to false, then the keypress events catch the
tab keypresses. It would have been nice if MS mentioned this in Help.

"dave" <da*****@mindspring.com> wrote in message
news:Kw****************@newsread2.news.atl.earthli nk.net...
I've designed a nice little App that works something like a spreadsheet
using the MSHFlexgrid control. Many users are inclined to press the tab key, expecting the program to respond like excel would but it doesn't. It simply leaves the MSHFlexgrid ang they loose the data they were entering in the
particular cell.

Is there some way I can receive the tab keypress in some event processing
routine so I can respond as I do with a return keypress without VB taking
the user out of MSHFlexgrid to the next control in the tab sequence ?

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by doller | last post: by
4 posts views Thread by giddy | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.