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:
00816137
Views:
29
The actual action by the user is going up and down the treeview very fast, sometimes clicking the left and sometimes clicking the right. During this test... no problems, however when the user starts clicking using both left and right very fast, my problems start.

My right click on the node loses the function of the menu ?

I tried to trap the problem.
1. Button=3 in Mouse Move will trap it
2. Lastkey()=27 in MouseUP or MouseDown will trap it

During Runtime the only way out is to press the Escape Key a few times. That
with even with SET Escape OFF.

I noted that during the debug, that normally the LASTKEY() value is 13, however during this very fast left & right together clicking it changes value.

I have alter the SET Typeahead, I have cleared the Typehead - no avail.

I have tried CLEAR commands - no avail.

Obviously, something is hanging in there - what I do not know.

If I remove the Side Menu code in MouseUp altogether - the problem is gone.
I therefore tried other ways of firing the menu - POP/PUSH instead of DO, the problem is still there.

Again, this only happened on very, very fast clicking of left and right mouse together.

???
I now totally lost in space.

Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform