LocateRecord with sorted series don't work
Posted: Wed Jun 22, 2005 12:23 pm
If the series is sorted the
unit DBChart_LocateRecord
procedure TDBChartRecordLocate.DBChart1ClickSeries(Sender: TCustomChart;
Series: TChartSeries; ValueIndex: Integer; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
// Use the bookmarks to find the database record for the clicked point...
Table1.GotoBookmark(BookMarks[ValueIndex]);
end;
don't find the correct value
unit DBChart_LocateRecord
procedure TDBChartRecordLocate.DBChart1ClickSeries(Sender: TCustomChart;
Series: TChartSeries; ValueIndex: Integer; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
// Use the bookmarks to find the database record for the clicked point...
Table1.GotoBookmark(BookMarks[ValueIndex]);
end;
don't find the correct value