Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right Mouse Click Problem
Message
From
05/12/1997 10:09:50
 
 
To
05/12/1997 04:12:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00063865
Message ID:
00064019
Views:
45
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform