Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jul : Clipboard won't paste text
| Subject: | Clipboard won't paste text |
| Posted by: | "Mike Henry" () |
| Date: | 16 Jul 2006 09:02:52 |
I can't seem to get the clipboard to work correctly.
The function:
if Clipboard.HasFormat(CF_TEXT) then
Edit1.Text := Clipboard.AsText;
doesn't work.
But the function:
if Clipboard.HasFormat(CF_BITMAP) then
Bitmap.Assign(Clipboard);
does work.
What's wrong with the text function?
I'm using Delphi 4.