lcl: treeview: tooltip: reduce flicker

git-svn-id: trunk@52372 -
This commit is contained in:
ondrej 2016-05-23 17:55:20 +00:00
parent dc2843ca68
commit b2ab253210

View File

@ -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;