473,472 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 3491
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave | last post by:
KeyDown and KeyPress events catch Page Up/Down keystrokes too late so I can't stop program from acting on them in the way it does (up selects a cell in the uppermost row and down selects a cell in...
4
by: doller | last post by:
Hi Dear , I have a mshflexgrid control on the VB form having 200 rows .I need to add a row before or after the selected row in the grid. As wee do in excel we can add rows before or after...
4
by: giddy | last post by:
hie, does anyone know. how to use the MSHFlexGrid.. .in C#... and does'nt VS 2005 shipp with a NEW MSHflexGrid??? i hav VB6 installed to so does that create some conflict?? theres only ver. 6.0...
2
by: nairda | last post by:
Hi, I'm Adrian from Indonesia. I have a problem using MSHFlexgrid in VB. I want to show a data from a single cell in MSHFlexgrid that I choose by mouse click in a textbox. The problem is, how to...
4
by: nairda | last post by:
Hi, I have a minor trouble in my program. I've one MSHFlexgrid to show all datas from an input form that I made. The problem occurs when I deleted one or more rows in the MSHFlexgrid and would like...
4
by: nairda | last post by:
Hi all, I have a MSHFlexgrid to show my database and some textboxes to show datas I choosed from MSHFlexgrid. I would like to know if there's a way to show a specific data I choosed from MSHF in...
2
by: WhiteShore | last post by:
hi there just wonder is it possible to save all the data item from mshflexgrid that has been retrieved from another table? let say i got 1 table called A and has been retrieved by mshflexgrid,...
5
dnb
by: dnb | last post by:
How can we take two particular objects from MSHflexgrid while selecting object from MSHflexgrid? Thanks in advance.
2
Fary4u
by: Fary4u | last post by:
Hi it's my 1st post in VB, i'm trying to get data from ComboBox & result with MSHFlexGrid it's working fine there is no problem they only thing i need is Another ComboBox & ( result...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.