Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop question
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01161190
Message ID:
01161211
Views:
13
This code in the "from" object's OLEStartDrag method did the trick.
LPARAMETERS oDataObject, nEffect
IF oDataObject.getformat(1)
   lc="["+UPPER(ALLTRIM(oDataObject.getdata(1)))+"]"
   =oDataObject.setdata(lc,1) 
ENDIF


>I have a form which contains a listbox and a memo field. I have enabled drag & drop from the listbox to the memo field so that entries in the listbox can be dragged to the memo. That works fine. But i need to intercept the drop method so that i can format the dropped text before it finally gets placed in the memo field. I've been tinkering with the memo field's OLEDragDrop method, but no joy.
Previous
Reply
Map
View

Click here to load this message in the networking platform