Re:Re: Copying data from a StringGrid

Posted by Johan on April 17, 2007

In Reply to Re: Copying data from a StringGrid posted by Ken on April 16, 2007

Thanks very much for the code Johan, however at the moment the it isn't functioning. Upon trying to run the programme an error occurs stating that 'Clipboard' is an undeclared identifier. Any suggestions?

"Clipboard" is defined in Delphi's "CLIPBRD" unit.
Add CLIPBRD to the "uses" line on top of the unit, if it's not included yet. For example, if it is:

uses Windows, ..., Grids;

then change it to:

uses Windows, ..., Grids, ClipBrd;

Hope this helps!

Johan

Related articles

       

Follow Ups