Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Middle-click not firing in grid...
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Middle-click not firing in grid...
Miscellaneous
Thread ID:
00781724
Message ID:
00781724
Views:
61
Hey all,

We have an issue with our VFP app locking up when the user clicks the middle-button on their mouse while in a grid. Our app is weird...hybrid of flat-screen type stuff (SAYS, GETS, etc) with normal GUI windows that pop up where needed. If the middle-click is used while in a grid on a standard window, the flat screen locks up and the app locks up.

So, I changed the grid so that we swap out the standard textbox in the columns with our own custom textbox. Our custom textbox has a MiddleClick event that shows a messagebox and then does a NODEFAULT...anything to try to stop the mouse middle-click from doing anything.

But our middle click event is never even firing. It is as if the textbox in the columns is never really getting focus. I turned off ReadOnly on the grid, and our custom textbox is just a direct descendent of the base Textbox, so there shouldn't be any weird code in there.

What is going on that the textbox is not able to receive focus? I know grid's are notirious for having these kinds of issues, and I have been away from VFP for about a year and feel rusty. Any help would be appreciated.

Feel free to e-mail to joek@lawusa.com with any ideas. We are using VFP 7.0...

Thanks,
Joe Kaufman
Next
Reply
Map
View

Click here to load this message in the networking platform