TAChart: fixed typos related to 'occur' word

git-svn-id: trunk@65202 -
This commit is contained in:
maxim 2021-06-10 22:14:17 +00:00
parent c1a767e4ce
commit 163edb07b5
2 changed files with 3 additions and 3 deletions

View File

@ -513,13 +513,13 @@ begin
AHeight := Max(AHeight, GetSystemMetrics(SM_CYMENUCHECK) + 2);
end;
{ standard MouseDown handler: checks if the click occured on the checkbox,
{ standard MouseDown handler: checks if the click occurred on the checkbox,
on the series icon, or on the text.
The visibility state of the item's series is changed when clicking on the
checkbox, and an event OnCheckboxClick is generated.
An event OnSeriesIconClick is generated when double-clicking on the
series icon; the method stores the series list index here.
An event OnItemClick is generated when the click occured neither on the
An event OnItemClick is generated when the click occurred neither on the
checkbox nor the series icon.
}
procedure TChartListbox.MouseDown(

View File

@ -1570,7 +1570,7 @@ begin
if not IsInfinite(lo.FValue) then begin
if not IsNan(AValues[start].FValue) then begin
// The lower bound value occured after the first in-range value,
// The lower bound value occurred after the first in-range value,
// so we did not reserve space for it. Hopefully rare case.
for i := cnt downto start + 1 do
AValues[i] := AValues[i - 1];