Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intercept right mouse click going from @Say to SCX
Message
From
19/01/2009 19:49:33
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Intercept right mouse click going from @Say to SCX
Miscellaneous
Thread ID:
01375317
Message ID:
01375317
Views:
53
Without getting too complicated with the telling, we have an SCX that can have an @Say screen popup over it using a hot key. We have code on almost all of our objects to close the form if the right-click of the mouse is done. On @Say screens, we have ON KEY LABEL handling the right-click of the mouse to do the same. What is happening is that if the @Say is over the form, when we right-click, the @Say screen closes, but then immediately the form does also. We have tried a number of things like CLEAR TYPEAHEAD and DO WHILE INKEY(0,'M') > 0...enddo, but to no avail. Anyone have any ideas? We are almost to the point of putting up an invisible form under the @Say screen, but above the SCX and letting both of those close, keeping the SCX open. But I really don't like those sort of solutions.
Next
Reply
Map
View

Click here to load this message in the networking platform