>>>Thank you. Actually, I've applied two tests. One is from the command window to display len( _ClipText). The other is to paste the clipboard contents into an external (non-VFP) application or, as I believe you have suggested, another VFP editor window.
>>>
>>>If it's straightforward enough I'd be curious what issues you have seen with _ClipText. Would this be just with VFP 7 or earlier version(s)?
>>>
>>>Again, thank you for your generous assistance.
>>
>>For example, If I copy following code into clipboard
DEFINE CLASS MyRightClick AS Column
>> oHookedObject = oFoo
>> procedure oHookedObject.RightClic
>> DO Menu1.mpr
>> endproc
>>ENDDEFINE
and than issue ? _cliptext it displays consistently
ENDDEFINEenu1.mpredObject.RightClic
>If I paste it in the commnad or edit window window it's okey.
>
>?strtran(_cliptext, chr(13), chr(13)+chr(10))
>
>displays it right. Though, it is needed only for method code, because it's stored with CRs only; .prg files have LFs as well. This is more the matter of how ? command prints on the screen: the first one will print b's over the A's (not really covering the last hidden A), while the other will print in two lines. Including only LF without a CR will produce a staircase.
>
>?"AAAAAAAAAaaaaaaaaaaaaaaaaaa"+CHR(13)+"bbbbbbb"
>?"AAAAAAAAAaaaaaaaaaaaaaaaaaa"+CHR(13)+CHR(10)+"bbbbbbb"
Thanks Dragan. I didn't know about CRs only in the method code.
--sb--