>>>>>How can I get to the contents of the clipboard if a block has been copied from another program (eg some word-processing program)?
>>>>
>>>>
>>>>Look at the _CLIPTEXT system variable.
>>>
>>>I thought the answer would be as simple as this - its not though! - try copying something from Word 97 ( a block over more than one line) - the carriage return messes the result up!
>>>
>>>I don't know the way round this though!
>>>
>>>Ian
>>
>>_CLIPTEXT should contain all the copied information (at least it does with Word 7). You may not be able to view all of it, but it's there. You may want to try to confirm this by checking the rightmost characters (with RIGHT(_CLIPTEXT, n)) to make sure they match.
>
>Quite right! - Its just the ? _cliptext that doesn't display correctly!
>
>Ian
What are you trying to do? Perhaps something's different in the how the version is saving the data to the clipboard. If should be as CF_TEXT.
I copied text (including linefeeds and carriage returns) from an RTF (from Word 7) and _CLIPTEXT (in FPW 2.6) correctly displayed the text when I ? _CLIPTEXT from the command window.
George
Ubi caritas et amor, deus ibi est