Hi,
I have a TTMSFMXTreeview with a horizontal scrollbar.
Some of the node texts are too long to show.
Is it possible to show a hint when the user hovers over a node which is only partly visible ?
e.g. in the MouseOver or so ?
TIA
Fixed the repaint as well.
You may close this topic (I entered it a bit premature).
Solution:
procedure TForm1.tvMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Single);
var
node: TTMSFMXTreeViewVirtualNode;
begin
node := tv.XYToNode(X, Y);
if not Assigned(node) then
Exit;
if node = FLastHintNode then
Exit;
Application.CancelHint;
FLastHintNode := node;
tv.Hint := node.Text[0];
end;