Recent

Author Topic: Clipboard problems...  (Read 4535 times)

Adam.Pilorz

  • Jr. Member
  • **
  • Posts: 67
    • http://www.pilotmp3.devtown.net
Clipboard problems...
« on: November 04, 2004, 08:36:56 pm »
Well... This topic IS NOT about error while trying to paste anything into editor from other application.
The problem is, that while my program is running, and I want to use Clipboard:TClipboard from Clipbrd unit I have met following problem:
I CAN copy and paste text INSIDE my application. It works correctly. I CAN copy something into my application from clipboard, when other application have written something into it. I can't however paste anything in others application, when I have written to clippboard from my Lazarus application. Is that an error, not implemented yet or what? Is it posible to use clipboard any other way, which would work properly?
P.S. I've tried both AsText property and SetTextBuf method, but none of them works.

Nisbo

  • New Member
  • *
  • Posts: 19
Clipboard problems...
« Reply #1 on: March 10, 2005, 10:59:17 am »
I have also problems to use Clipboard

uses Clipbrd

.
.
.


procedure TForm1.Button8Click(Sender: TObject);
begin
  Clipboard.Clear;
  Clipboard.AsText := Memo2.caption;
  ShowMessage ('kopiert');
end;

but it doesnt work, whats wrong ?

 

TinyPortal © 2005-2018