Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stopped working in VFP 7
Message
De
30/10/2001 23:57:28
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00575331
Message ID:
00575470
Vues:
35
>>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"

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform