Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lastkey() Loop within oTreeview: MouseUp
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00815757
Message ID:
00816137
Vues:
30
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform