[fpc-pascal] Clipboard tutorial.

Martin Friebe fpc at mfriebe.de
Fri Jul 17 15:27:27 CEST 2009


If you use Lazarus (or at least the LCL) it has a unit Clipbrd

and you can do
    Clipboard.AsText:= FText;

Martin

Torsten Bonde Christiansen wrote:
> Graeme Geldenhuys wrote:
>> Torsten Bonde Christiansen wrote:
>>>
>>> Does anyone know of a page that has a short introduction/tutorial, 
>>> preferably something that will work cross-platform wise.
>>
>>
>> What GUI toolkit are you using and what platform?  Or is it a console 
>> based application, which normally means the clipboard only functions 
>> inside your own application.
> GUI application and preferably every possible combination.
>
> I'm creating a cross-platform application that in some part of the 
> program should be able to access the clipboard and read data as text 
> only.
>
> But from your answer if guess there is no single (simple) way to do this?
>
> Regards,
> Torsten.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal



More information about the fpc-pascal mailing list