Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag And Drop
Message
De
22/07/1998 09:08:29
Sonny Chouinard
CHCA Computer Systems Inc.
Lachenaie, Québec, Canada
 
 
À
22/07/1998 03:37:58
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00119666
Message ID:
00120114
Vues:
20
>>>>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

I don't know about that but their methods don't accept oSource parameter.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform