Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing the clipboard from VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00768536
Message ID:
00768839
Vues:
23
George, why exactly would the fact that _cliptext is limited to text be a problem? Wouldn't _Cliptext = "" clear the clipboard regardless what might be on it at the moment? I've been clearing it that way myself, but if there is a problem coming down the track that just hasn't run me over yet, I'd really like to know about it.

Wait a second. I just thought of something. Is it because maybe I'm not really clearing it, but actually setting it to an empty string? Could that be an issue?

Alan

>>What is the best or easiest way to clear the clipboard using VFP?
>
>Since _CLIPTEXT is limited to text only, the best way would probably be either via the API functions OpenClipboard(), EmptyClipboard(), and CloseClipboard() or the functions in Foxtools that map to them. Namely, OpenClip, EmptyClip() and CloseClip(). The latter is documented in my Extended Foxtools Help file in the download section.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform