You've already forked lazarus-ccr
RxFPC: fix show hint for RxDBGrid cell
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7359 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -5652,15 +5652,15 @@ begin
|
||||
if (CellRect_.Bottom > CursorPos.Y) and (CellRect_.Right > CursorPos.X) then
|
||||
if Assigned(FOnDataHintShow) then
|
||||
begin
|
||||
Processed := False;
|
||||
rec := DataLink.ActiveRecord;
|
||||
try
|
||||
DataLink.ActiveRecord := Cell.y - 1;
|
||||
HintStr_ := tCol.Field.DisplayText;
|
||||
FOnDataHintShow(Self, CursorPos, Cell, tCol, HintStr_, Processed);
|
||||
finally
|
||||
DataLink.ActiveRecord := rec;
|
||||
end;
|
||||
Processed := False;
|
||||
FOnDataHintShow(Self, CursorPos, Cell, tCol, HintStr_, Processed);
|
||||
if Processed then
|
||||
HintStr := HintStr_;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user