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:
00816381
Views:
23
Hi,

>Obviously, button=2 firing the menu, which might not be released from memory when the user goes mad hitting both buttons seems to be the problem.

In that case maybe use a flag so that the mousedown is ignored whilst the menu is still active. In the mousedown something like:
IF ! THISFORM.lMenuActive
  THISFORM.lMenuActive = .T.
  DO menu.mpr
  THISFORM.lMenuActive = .F.
ENDIF
HTH,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform