Linux Clipboard

Hongli Lai hongli at telekabel.nl
Thu Mar 2 04:45:58 EST 2000


Op Thu, 02 Mar 2000, schreef Peter Dyson:
> > 
> > I usually use the forms hWnd when using the API clipboard.
> > You could try adding a parent property to the class which is
> > a  TWinControl, the lowest level object in the VCL with a
> > hWnd
> > 
> Answering my own message how about 
> TClipBoard.Create(AOwner: TwinControl)

That would be Delphi incompatible. In Delphi, you can access the TClipboard
object by using the Clipboard function, which has no parameters. If I add a
AOwner parameter to Clipboard, I can't compile existing Delphi apps that use
TClipboard anymore without modify the sourcecode.






More information about the Lazarus mailing list