?
Solved

"Windows Explorer"-like hints for too-long Treenodes

Posted on 2004-10-18
3
Medium Priority
?
306 Views
Last Modified: 2010-04-05
The Windows file explorer (not the Internet Explorer) pops up a hint on a MouseOver event if the file name is too long to fit within the displayed portion of the treelist, containing the full file name. At least it looks like a "Hint", though it's positioned immediately on top and appears almost intantly.

I've been able to do something similar by using the Hint field of a TreeList (actually a TdxTreeList) but the hint applies to the entire tree, not to the tree node that the mouse is positioned over.

I'd like to popup a hint on a MouseOver event for any treenode, as the mouse moves over it, without having to exit and re-enter the list and have it appear directly over the tree node. I'd also like to do it as quickly as Windows Explorer does; there must be a timeout value that can be changed to make the hint popup sooner than the default.

If there's already support within TTreeList, TdxTreeList (DevExpress), or something else easily accessible, please point me to it. Alternatively, if you have a MouseOver event handler that can do something like this, I'b be very grateful for the code.

Thanks,
Alan
0
Comment
Question by:sftweng
[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
3 Comments
 
LVL 14

Accepted Solution

by:
DragonSlayer earned 2000 total points
ID: 12344565
Ermm... not sure if this is what you want? http://www.undu.com/Articles/000928e.html

A bit rudimentary, but I guess stuff like timeout to hide/show can be configured from the above example.
0
 
LVL 7

Author Comment

by:sftweng
ID: 12344608
Thanks, it looks like exactly what I want.
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 12344741
Glad to be of help... sigh... too bad undu is not updated anymore...
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

771 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