By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,805 Members | 1,100 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,805 IT Pros & Developers. It's quick & easy.

Can't respond to tab keypress with MSHFlexgrid

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.