Recent

Author Topic: Cross clipboard (Windows and Linux)  (Read 4306 times)

seba22

  • Full Member
  • ***
  • Posts: 136
Cross clipboard (Windows and Linux)
« 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 ?

zeljko

  • Hero Member
  • *****
  • Posts: 1089
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Cross clipboard (Windows and Linux)
« Reply #1 on: January 03, 2010, 04:33:38 pm »
It works here (qt-lcl). Does it works on win32 for you ?