Solved

Can't prevent Treeview hint

Posted on 2004-09-04
4
414 Views
Last Modified: 2010-04-05
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



0
Comment
Question by:frog
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:Ivanov_G
ID: 11982262
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;
0
 

Author Comment

by:frog
ID: 11987744
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'.

0
 
LVL 12

Accepted Solution

by:
Ivanov_G earned 125 total points
ID: 11987889
It has, but in Delphi 7...

ToolTips property (TCustomTreeView)

Delphi syntax:
property ToolTips: Boolean;

Description:
Set ToolTips to true to specify that items in the tree view control have tool tips (Help Hints).
Specify the ToolTip text in an OnHint event handler using the Hint property.
0
 

Author Comment

by:frog
ID: 11994679
Thanks  Ivanov_G,

I'll have to tackle this one another way.


0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now