mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-16 15:29:25 +01:00
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:
parent
124327f65b
commit
a18e2e9fda
@ -4185,7 +4185,7 @@ begin
|
|||||||
Hint := txt;
|
Hint := txt;
|
||||||
//set Application.Hint as well (issue #0026957)
|
//set Application.Hint as well (issue #0026957)
|
||||||
Application.Hint := GetLongHint(AppHint);
|
Application.Hint := GetLongHint(AppHint);
|
||||||
Application.ActivateHint(APoint, true);
|
Application.ActivateHint(ClientToScreen(APoint), true);
|
||||||
end else
|
end else
|
||||||
HideCellHintWindow;
|
HideCellHintWindow;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user