[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: remove underlined text under CTabItem (CTabFolder selection)

Thanks Grant,

Yes, indeed, I am able to remove the focus on the tab by setting the focus on another widget in the tab folder selection listener.

Mircea


Grant Gayed wrote:
Hi Mircea,

Setting focus to another control should remove the underline, and does for
me if I run
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet165.java .
Are you able to change this snippet to fail to remove the underline?  Or is
there some other way to make the problem happen?

Grant


"Mircea Luchian" <mircea.luchian@xxxxxxxxxx> wrote in message news:g211oi$kdl$1@xxxxxxxxxxxxxxxxxxxx Hello,

Whenever I select a tab, under certain circumstances, the tab's title
appears underlined because that tab has focus. The tabs are Eclipse style
(simple = "false").

Below Is a sample.




I tried to set the focus on a widget in particular in that tab, but the tab is still underlined, meaning it is still in focus. How do you systematically disable this underlining of the tab's text? I have never seen this behavior in the Eclipse IDE.

Thanks,

Mircea