Solved

MSFlexGrid: KeyDown & KeyUp events.

Posted on 1998-07-11
2
740 Views
Last Modified: 2008-02-01
I'm using VB5 Professional Edition. I'd like to be able do detect the KeyDown and
KeyUp events when navigation keys are pressed. With the Grid control in VB3 and
VB4 it worked but it doesn't seem to work with MSFlexGrid control.  With the DBbound
 control it works. Is it only a problem I have or is it just not implemented in
the MSFelxGrid? If not how can I get tha KeyDown or Up event to be triggered when
a navigation key is pressed?
0
Comment
Question by:flavour
2 Comments
 
LVL 1

Accepted Solution

by:
wford earned 100 total points
ID: 1465491
I just had a look, an there seems to be no problem with the keydown or keyup event, however I have MSflexigrid (SP2) so it may be a bug that was fixied in the second service pack. I have no recollection of this being a problem before then, and I had a quick search in the bug list, but could not turn anything up.

I would suggest re loading the Msflexigrid control, (MSFLXGRD.OCX), or if you do not have it already, download the latest SP from Microsoft. If you cannot find a new one, or your one does not work on reload, I can mail you a copy of my OCX.    
0
 

Author Comment

by:flavour
ID: 1465492
Thank you very much for your help. I now know that I've got to look out for setup problems.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
String manipulation in Visual Basic 7 64
MS Access - Capture pressed key onclick 4 33
VB6 Compile Compatibility Issue 4 102
VB6 - Scroll Mouse wheel on Picturebox 13 44
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question