[fpc-pascal] Clipboard tutorial.

Graeme Geldenhuys graemeg at opensoft.homeip.net
Fri Jul 17 15:23:28 CEST 2009


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 - which your application will use. You 
can take a look at fpGUI Toolkit (url shown below) or MSEgui to see how 
it is done. Both these GUI toolkits support X11 and Windows clipboards.

Regards,
   - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/




More information about the fpc-pascal mailing list