Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing Clipboard after DataToClip Method
Message
De
11/12/2003 07:26:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00857933
Message ID:
00858033
Vues:
26
>>How about:
>>
>>
>>_cliptext = ""
>>
>>
>>(in VFP)
>
>Hilmar,
>This makes for an even smaller clipboard content than the two-record workaround ...

And, it is simpler to code.

> ...but still doesn't get rid of the clipboard contents entirely. I tried various combinations of CLEAR, RELEASE, CLOSE and setting to .NULL. of the _CLIPTEXT variable but none of these worked either.

It is not very common for Windows applications to clear the Clipboard completely; an exception might be programs that keep large quantity of data (graphics, long texts) on the Clipboard: when you exit, they ask you whether you want to keep it.

I would not worry about this; but if you do, there might be an API function to erase this. However, I don't know how.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform