mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 10:00:34 +02:00
lcl: treeview: tooltip: reduce flicker
git-svn-id: trunk@52372 -
This commit is contained in:
parent
dc2843ca68
commit
b2ab253210
@ -4278,12 +4278,8 @@ begin
|
||||
begin
|
||||
FHintWnd.Font.Assign(Self.Font);
|
||||
FHintWnd.Font.Color := Screen.HintFont.Color;
|
||||
FHintWnd.ActivateHint(R, SText)
|
||||
end else
|
||||
begin
|
||||
FHintWnd.Caption := SText;
|
||||
FHintWnd.SetBounds(R.Left, R.Top, R.Right-R.Left, R.Bottom-R.Top);
|
||||
end;
|
||||
FHintWnd.ActivateHint(R, SText)
|
||||
end;
|
||||
|
||||
function TCustomTreeView.GetSelection: TTreeNode;
|
||||
|
Loading…
Reference in New Issue
Block a user