Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clearing Clipboard after DataToClip Method
Message
From
11/12/2003 07:26:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00857933
Message ID:
00858033
Views:
27
>>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform