Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right Mouse Click Problem
Message
De
05/12/1997 10:09:50
 
 
À
05/12/1997 04:12:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00063865
Message ID:
00064019
Vues:
50
>>Hi,
>>
>>I have a weird problem here. I have a form with a pageframe on it with three tabs. On the third tab, I have two list boxes: lbSubClassList and lbSubClassDetail. Both have RightMouseClick events programed to display a popup shortcut menu.
>>
>>I'm dragging info from lbSubClassList to lbSubClassDtail which seems to work fine. But right after I drag, if I right click on lbSubClassDetail, the RightMouse event fires from lbSubClassList.
>>
>>This is weird. Any suggestions?
>>
>>Thanks,
>
>hello Jim,
>
>Try, .SetFocus() to target object (lbSubClassDtail) after drag&drop operation.
>
>Peter.
Yes
The FOCUS remains on the source object from which you originated the Drag operation. This is particularly annoying when dragging between forms. The DragDropEvent method of the target object (lbSubClassDtail) is fired after releasing the mouse and you could put the This.Setfocus there. HTH
Dan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform