mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 06:00:07 +02: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;
|
||||
//set Application.Hint as well (issue #0026957)
|
||||
Application.Hint := GetLongHint(AppHint);
|
||||
Application.ActivateHint(APoint, true);
|
||||
Application.ActivateHint(ClientToScreen(APoint), true);
|
||||
end else
|
||||
HideCellHintWindow;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user