[Lazarus] Using the clipboard in linux

appjaws lazarus at appjaws.plus.com
Sun Mar 3 18:16:01 CET 2013


On 03/03/13 17:04, Flávio Etrusco wrote:
> On Sun, Mar 3, 2013 at 1:20 PM, appjaws <lazarus at appjaws.plus.com> wrote:
>> How do I save, copy to and paste from the clipboard using a kde environment
>> on linux 64?
>> I am using Lazarus 1.0.6 and fpc 2.6.0.
>> Thanks for any help
>> Paul
>
> Add unit 'Clipbrd', then
>      Clipboard.AsText := 'something';
>
> For custom formats, use AddFormat.
>
> For images, method SaveToClipboardFormat on the image (TGraphic).
>
> -Flávio
>

I tried this and it didn't work in Linux.
I'll try again
Thanks
Paul

-- 
---This message has been sent using Thunderbird on kubuntu---




More information about the Lazarus mailing list