LCL/Grids: Fix TCustomGrid.ShowCellHintWindow to use screen coordinates for the hint window. Issue #40867, patch by Iluha Companets.

(cherry picked from commit e9425e930f)
This commit is contained in:
wp_xyz 2024-04-17 18:06:01 +02:00 committed by Maxim Ganetsky
parent 124327f65b
commit a18e2e9fda

View File

@ -4185,7 +4185,7 @@ begin
Hint := txt;
//set Application.Hint as well (issue #0026957)
Application.Hint := GetLongHint(AppHint);
Application.ActivateHint(APoint, true);
Application.ActivateHint(ClientToScreen(APoint), true);
end else
HideCellHintWindow;
end;