mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 01:16:01 +02:00
tachart: fixed method setters
git-svn-id: trunk@22166 -
This commit is contained in:
parent
f9bf52235e
commit
0b7468f33e
@ -22,7 +22,7 @@
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
||||
<LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
|
||||
</local>
|
||||
</RunParams>
|
||||
<RequiredPackages Count="2">
|
||||
|
@ -29,7 +29,7 @@ unit TASeries;
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, Graphics,
|
||||
Classes, Graphics, LCLProc,
|
||||
TAChartUtils, TACustomSeries, TAGraph, TALegend, TATypes;
|
||||
|
||||
type
|
||||
@ -1090,7 +1090,7 @@ end;
|
||||
|
||||
procedure TFuncSeries.SetOnCalculate(const AValue: TFuncCalculateEvent);
|
||||
begin
|
||||
if FOnCalculate = AValue then exit;
|
||||
if CompareMethods(TMethod(FOnCalculate),TMethod(AValue)) then exit;
|
||||
FOnCalculate := AValue;
|
||||
UpdateParentChart;
|
||||
end;
|
||||
@ -1139,7 +1139,7 @@ end;
|
||||
|
||||
procedure TUserDrawnSeries.SetOnDraw(AValue: TSeriesDrawEvent);
|
||||
begin
|
||||
if FOnDraw = AValue then exit;
|
||||
if CompareMethods(TMethod(FOnDraw),TMethod(AValue)) then exit;
|
||||
FOnDraw := AValue;
|
||||
UpdateParentChart;
|
||||
end;
|
||||
|
@ -22,7 +22,7 @@ unit TASources;
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, Graphics, SysUtils, TAChartUtils;
|
||||
Classes, LCLProc, Graphics, SysUtils, TAChartUtils;
|
||||
|
||||
type
|
||||
EEditableSourceRequired = class(EChartError);
|
||||
@ -783,7 +783,7 @@ end;
|
||||
procedure TUserDefinedChartSource.SetOnGetChartDataItem(
|
||||
const AValue: TGetChartDataItemEvent);
|
||||
begin
|
||||
if FOnGetChartDataItem = AValue then exit;
|
||||
if CompareMethods(TMethod(FOnGetChartDataItem),TMethod(AValue)) then exit;
|
||||
FOnGetChartDataItem := AValue;
|
||||
Reset;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user