[DUG] Copy and Paste
Alister Christie
alister at SalesPartner.co.nz
Fri Oct 21 16:38:10 NZDT 2005
You can code it up manually
Clipboard.AsText := label1.caption;
and
Clipboard.AsText := ListBox1.Items.text;
and the reverse ofcourse
you must use the clipbrd unit however.
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
John Bird wrote:
> With data displayed in labels on a form or data displayed in stringlists
> (read only) there seems no way to use the clipboard to copy and paste
> data. Is there a way around this, or to allow a copy and paste option
> do I have to either (i) put the data in the clipboard programmatically
> or (ii) use a different control to display data.
>
>
> John
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
More information about the Delphi
mailing list