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

This commit is contained in:
wp_xyz 2024-04-17 18:06:01 +02:00
parent 1f7accb9e2
commit e9425e930f

View File

@ -4186,7 +4186,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;