Link to home
Start Free TrialLog in
Avatar of frog
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



Avatar of Ivanov_G
Ivanov_G
Flag of Bulgaria image

the 2 lines below are enough.
  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;
Avatar of frog
frog

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'.

ASKER CERTIFIED SOLUTION
Avatar of Ivanov_G
Ivanov_G
Flag of Bulgaria image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of frog

ASKER

Thanks  Ivanov_G,

I'll have to tackle this one another way.