mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-11 02:00:51 +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
|
begin
|
||||||
FHintWnd.Font.Assign(Self.Font);
|
FHintWnd.Font.Assign(Self.Font);
|
||||||
FHintWnd.Font.Color := Screen.HintFont.Color;
|
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;
|
end;
|
||||||
|
FHintWnd.ActivateHint(R, SText)
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TCustomTreeView.GetSelection: TTreeNode;
|
function TCustomTreeView.GetSelection: TTreeNode;
|
||||||
|
Loading…
Reference in New Issue
Block a user