Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lastkey() Loop within oTreeview: MouseUp
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00815757
Message ID:
00815984
Views:
20
Hi,

>I found the the Left&Right Mouse click created a LASTKEY()=27.
AFAIK mouse events cannot affect the LASTKEY() value. What makes you believe this is happening ?

>They decided to simultaniously click both the Left & Right mouse button at the same time.

Again, it's not possible, in machine terms, to do this. MouseDown (and MouseUp) will only report one button action (i.e bit 1,2 or 4 will be set - never a combination). Attempting to press two keys simultaneously will always result in two events (albeit close together). Anyway, if it could happen the button code would be '3' and your code wouldn't run anyway.

Is there code in the MouseDown,MouseUp,Click or DBLClick events which fires for button=1 ?

Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform