Lazarus

Installation => General => Topic started by: seba22 on December 21, 2009, 04:06:06 pm

Title: Cross clipboard (Windows and Linux)
Post by: seba22 on December 21, 2009, 04:06:06 pm
Hello,

I'm looking for idea how Can i copy string into clipboard in Linux and Windows.


I had try following code on Linux Gnome.

In uses add Clipbrd

Then, in form create:
Code: [Select]
Clipboard.AsText := 'test';

Then I try paste from clipboard, and don't have it...

I also try:

Code: [Select]
memo1.SelectAll;
memo1.CopyToClipboard;

But still don't work...

Compile without errors, but don't work...

Any idea ?
Title: Re: Cross clipboard (Windows and Linux)
Post by: zeljko on January 03, 2010, 04:33:38 pm
It works here (qt-lcl). Does it works on win32 for you ?