> > In this case, I can't understand why the error is gine in plotpanel > package for the following line: > > FOnXMarksWrite(self,X,xStr,ACanvas.Font,evtHandled); > > which is inside the implementation of > > procedure TPlotPanel.WriteXaxisValues(ACanvas:TCanvas); > var > X : Extended; > XStr : string; > evtHandled : Boolean; > ... > > isn't it right to read the ACanvas.Font property? > In fact, I can't change it to the FFont private variable, because they > belong to different classes. > > Roberto >
What's the signature of FOnXMarksWrite method/handler? -Flávio -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus