LCL: allow to properly pass HintData to hint window, patch by Artem Izmaylov, issue #41194

This commit is contained in:
Maxim Ganetsky 2024-10-18 22:43:54 +03:00
parent 962016f5b6
commit 32947827e5

View File

@ -906,7 +906,7 @@ begin
FHintWindow.Color := HintInfo.HintColor;
//DebugLn(['TApplication.ShowHintWindow FHintWindow.Color=',dbgs(FHintWindow.Color),' HintInfo.HintColor=',dbgs(HintInfo.HintColor)]);
FHintWindow.ActivateHint(HintWinRect, HintInfo.HintStr);
FHintWindow.ActivateHintData(HintWinRect, HintInfo.HintStr, HintInfo.HintData);
FHintRect := HintInfo.CursorRect;
// start hide timer
if HintInfo.ReshowTimeout>0 then