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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement