On Mon, Mar 21, 2011 at 03:22, Leonardo M. Ramé <[email protected]> wrote:
> lCanvas.CopyRect(0,0,TFPCustomCanvas(lChart.Canvas),lRect); > After executing the method I'm getting "Control '' has no parent > window' at the CopyRect line. I'm sure there is another method to copy a > TCanvas to a TFPCustomCanvas. Use Chart.PaintOnCanvas instead. See savedemo for an example. Note that you must give it full TCanvas -- just TFPCanvas is not enough. -- Alexander S. Klenin -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
