Solved

MSFlexGrid: KeyDown & KeyUp events.

Posted on 1998-07-11
2
737 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now