lazarus/lcl/interfaces/gtk/tests/lclclipboardunit.pas
paul 62640977d0 lcl: convert forms to use fpc resources
git-svn-id: trunk@23435 -
2010-01-13 12:54:33 +00:00

43 lines
676 B
ObjectPascal

unit LCLClipboardUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Buttons, ClipBrd;
type
{ TForm1 }
TForm1 = class(TForm)
GetTargetsButton: TButton;
procedure GetTargetsButtonClick(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.GetTargetsButtonClick(Sender: TObject);
var
s: String;
begin
writeln('TForm1.GetTargetsButtonClick Getting PrimarySelection ...');
s:=PrimarySelection.AsText;
writeln('TForm1.GetTargetsButtonClick PrimarySelection="',s,'"');
end;
end.