AddLine() cannot removed without parsing the whole tooltip ... bad, only for oneshot-infos.
You should use AddControl() with your TextBox. A ClearAnchors() will remove it from the position and should resize the tooltip to its size before.
With the new CraftStore i use TopLevelControls and anchor them inside or outside the tooltip-control, because with AddControl() you can only use SetAnchor(CENTER). Disadvantage is, they must be hidden by a PreHook, because they not hide with the tooltip.
|