Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RightClick after a Manual Drag Drop not working
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
RightClick after a Manual Drag Drop not working
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01608223
Message ID:
01608223
Views:
57
Code :

I do a drag(1) in the mousemove of a listbox when detecting the mouse button one is down to manually initiate a dragdrop operation. In mousemove of the listbox, if the mouse button is not down I do a drag(0) to cancel. When I right click a command button directly after attempting a dragdrop in the listbox, the right click event doesn't fire. However, the second time I right click the command button right click event fires.

Scenario :

1) Highlight a row in the listbox.
2) Start drop drag towards command button
3) Stop drag drop while still over the listbox
4) Right click the command button (no message pops up)
5) Right click the command button once more (i get the message pop up)

Question :

How come I don't get a popup message in step 4, but do in step 5? How can I remedy this? I need to keep the manual drag drop.

Thanks in advance.

Here is a link to my test code.

http://www.vulcaninc.com/testcase.zip
Reply
Map
View

Click here to load this message in the networking platform