Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag & Drop Questions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Drag & Drop Questions
Divers
Thread ID:
00593901
Message ID:
00593901
Vues:
56
Okay, these may be simple questions. I'm just starting to play with drag & drop:

I'm dropping a "record" -- a scheduled appointment -- from one instance of a form to another -- one user's schedule to another user's schedule. The result is that I need to change the cUser field of the record. The easy way would be to do this in the form from which I'm dragging, since it has the record. How do I pass data (the new users's information) from the receiving object back to the source object? Can the target add a property to the oDataObject or something in the target's OLEDragDrop() that could be accessed in the source's OLESetData()? Or does the data in oDataObject need to be an object reference to the source control and then I could call source methods from the target?

Question #2: Why doesn't an OLE Container have VFE OLEDrag & Drop events?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform