Imitating tree selection [message #232759] |
Sat, 07 April 2007 12:34 |
Eclipse User |
|
|
|
Originally posted by: qn.pmayer.net
Hi all,
When I click on the image or text of a node in a tree, it gets selected,
i.e. the text gets a different background and the text color is
inverted. When navigating away, the background and text color change
again to a different color set (for example, to gray/black on Windows
XP). The text, however, is not selectable nor editable.
I would like to imitate this behaviour in a non-tree component inside a
composite - maybe a label, or a text. I would like to do this as
"natively" as possible. Can I send some OS messages on mouseover? Other
alternatives?
Thanks,
Phil
|
|
|
Re: Imitating tree selection [message #232767 is a reply to message #232759] |
Sat, 07 April 2007 12:35 |
Eclipse User |
|
|
|
Originally posted by: qn.pmayer.net
Sorry, wrong newsgroup. Please ignore.
Philip Mayer schrieb:
> Hi all,
>
> When I click on the image or text of a node in a tree, it gets selected,
> i.e. the text gets a different background and the text color is
> inverted. When navigating away, the background and text color change
> again to a different color set (for example, to gray/black on Windows
> XP). The text, however, is not selectable nor editable.
>
> I would like to imitate this behaviour in a non-tree component inside a
> composite - maybe a label, or a text. I would like to do this as
> "natively" as possible. Can I send some OS messages on mouseover? Other
> alternatives?
>
> Thanks,
>
> Phil
|
|
|
Powered by
FUDForum. Page generated in 0.02500 seconds