Re: Recommendation for a good TreeView
From: Andrea Raimondi (rainaple_at_tin.it)
Date: 07/28/04
- Next message: Eugene Mayevski [SecureBlackbox]: "Re: Best Overall Component Set"
- Previous message: Chris M: "Re: Best Overall Component Set"
- In reply to: Andrew Diabo: "Re: Recommendation for a good TreeView"
- Next in thread: Eugene Mayevski [SecureBlackbox]: "Re: Recommendation for a good TreeView"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 28 Jul 2004 00:24:42 +0200
Andrew Diabo wrote:
> Not sure if the HTML Hint component would display the description
> only if the description is longer than the viewable window. I think it
> will display a hint regardless. Anyway, I'll check it out. Thanks for
> pointing that out.
Welcome,
Anyway there's a very nice event called "OnHint".
You can query mouse position with TMouse.CursorPos and
GetItemAt method of TreeVeiw checking to see if it's pointing to a
tree node.
Now, simply do a TextWidth on the canvas and compare with the
client width, adjusting for the origin - which can be taken I think in
some way.
You have all the elements then to show the hint.
Obviously, if Bruno has implemented all this directly inside the
treeview component, the better.
> Thanks Bruno and everyone who responded to my question.
Welcome,
Andrew
- Next message: Eugene Mayevski [SecureBlackbox]: "Re: Best Overall Component Set"
- Previous message: Chris M: "Re: Best Overall Component Set"
- In reply to: Andrew Diabo: "Re: Recommendation for a good TreeView"
- Next in thread: Eugene Mayevski [SecureBlackbox]: "Re: Recommendation for a good TreeView"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|