Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag And Drop
Message
From
22/07/1998 03:37:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/07/1998 13:27:14
Sonny Chouinard
CHCA Computer Systems Inc.
Lachenaie, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00119666
Message ID:
00120048
Views:
22
>>>Hi,
>>>
>>>I try using drag and drop with different OCX. The first one is an RichtextCtrl. There is an oledragdrop and oledragover but it doesn't do anything. Even if I call them from the dragdrop and dragover event. The second OCX is Multi-day control from DBI technologies. But I think the problem is the use the same name as VFP for their dragdrop event. I know that VFP5 doesn`t support OLE DRAGDROP but I'm using the Pre-Release version of VFP6.
>>>
>>>THanks in advance
>>Sonny,
>>If it's a name problem add .object to specify you're talking to the OLEobject.
>>thisform.OLEcontrol.object.OLEDragdrop...
>>Cetin
>
>Hi, Thanks for your response. I've been doing some test this morning and now, the RichTextControl works. And the dragover event works too with your help. But I'm still stuck with the dragdrop event...
>
>This is the code I'm using for the multi-day control...
>
>Dragover event
>--------------------------------------------
>LPARAMETERS oSource, nxpoint, nypoint, nstate
>THIS.object.DragOver(nXpoint, nYpoint, nState)
>
>Dragdrop event
>--------------------------------------------
>LPARAMETERS oSource, nxpoint, nypoint
>THIS.object.DragDrop(nXpoint, nYpoint)
>
>THe dragover works as expected. When I drag in the control, the selected row is highlited as expected. But When I drop it, the dragdrop event fire but it doesn't fire the droplist method like Visual Basic.
>
>Is there someone who had used this control before??
>
>Thanks for your help.
Sonny,
I'm not using those controls so I'm afraid I can't help what's going on. But one thing I realized in code you don't pass oSource. Doesn't .object.dragdrop need it as a parameter ?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform