Re: [fpc-pascal] Clipboard tutorial.

2009-07-17 Thread Martin Friebe
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 somet

Re: [fpc-pascal] Clipboard tutorial.

2009-07-17 Thread Graeme Geldenhuys
Torsten Bonde Christiansen wrote: But from your answer if guess there is no single (simple) way to do this? No, various toolkits all handle the clipboard in different was. So you need to create an abstraction layer that wraps the various platforms you want to support into a common API - whic

Re: [fpc-pascal] Clipboard tutorial.

2009-07-17 Thread Torsten Bonde Christiansen
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 mea

Re: [fpc-pascal] Clipboard tutorial.

2009-07-17 Thread Graeme Geldenhuys
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 func

[fpc-pascal] Clipboard tutorial.

2009-07-17 Thread Torsten Bonde Christiansen
Hi all. I've been spending som time now, looking for documentation on how to utilize the clipboard, but so far I have had no luck. Does anyone know of a page that has a short introduction/tutorial, preferably something that will work cross-platform wise. Kind regards, Torsten Bonde Christia