Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Imitating tree selection
Imitating tree selection [message #232759] Sat, 07 April 2007 12:34 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:LayoutManager or locator for Shapes?
Next Topic:Canvas : save to jpg
Goto Forum:
  


Current Time: Thu Apr 25 20:04:40 GMT 2024

Powered by FUDForum. Page generated in 0.02500 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top