Solved

Can't prevent Treeview hint

Posted on 2004-09-04
4
418 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Run video youtube webbrowse 10 74
URL for downloading Google Chrome for Win XP 2 236
Delphi Yen format 3 62
Dev express lookupcombo 3 47
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

730 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