frog
asked on
Can't prevent Treeview hint
How do I prevent a TTreeview from showing the hint?
I have all these and it still shows and stays for a long time covering items in the treeview.
Form2.showHint := false;
TreeView1.showHint := false;
Application.HintHidePause := 1; // all hints show for 1mS
I have all these and it still shows and stays for a long time covering items in the treeview.
Form2.showHint := false;
TreeView1.showHint := false;
Application.HintHidePause := 1; // all hints show for 1mS
ASKER
Thanks Ivanov_G,
Yes, and they appear even when the items are short and have plenty of room.
For ToolTips I get the error - Undeclared Identifier : 'ToolTips'
The TTreeView and TTreeNode don't have a property 'ToolTips'.
Yes, and they appear even when the items are short and have plenty of room.
For ToolTips I get the error - Undeclared Identifier : 'ToolTips'
The TTreeView and TTreeNode don't have a property 'ToolTips'.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Ivanov_G,
I'll have to tackle this one another way.
I'll have to tackle this one another way.
TreeView1.ParentShowHint := False;
TreeView1.ShowHint := False;
if "hint" means the tool tip you see when the item is too long, this should help:
TreeView1.ToolTips := False;