OLEDropTextInsertion
This property determines whether an object lets you insert text into the middle of words with OLE drag and drop, or only at the ends of words. Usage | oObject.OLEDropTextInsertion = nInsertionType nInsertionType = oObject.OLEDropTextInsertion |
Parameter | Value | Meaning |
nInsertionType | 0 | This object lets you put dragged text anywhere. |
1 | This object always puts dragged text at the beginning of a word. |
There's only one little problem. They broke it. In VFP 7, no matter which way this property is set, text gets dropped at the pointer position. |
Example | * Set this property based on the user's choice. IF lPutTextAnywhere This.OLEDropTextInsertion = 0 ELSE This.OLEDropTextInsertion = 1 ENDIF |
See Also | OLE drag and drop |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.