Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RightClick after a Manual Drag Drop not working
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
RightClick after a Manual Drag Drop not working
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01608223
Message ID:
01608223
Vues:
58
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
Répondre
Fil
Voir

Click here to load this message in the networking platform