Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CTabFolder focus on new tab
CTabFolder focus on new tab [message #465905] Wed, 21 December 2005 17:31 Go to next message
Aleksandr Kravets is currently offline Aleksandr KravetsFriend
Messages: 55
Registered: July 2009
Member
Hello,

I have a Tree control and CTabFolder. When I click on each node of the
tree a new CTabItem is created, but to focus on the new CTabItem I have
to click on it. How can I focus on a new created CTabItem automatically
when the Tree node is clicked?

thanks,
Alex
Re: CTabFolder focus on new tab [message #465906 is a reply to message #465905] Wed, 21 December 2005 17:40 Go to previous messageGo to next message
Aleksandr Kravets is currently offline Aleksandr KravetsFriend
Messages: 55
Registered: July 2009
Member
Ah, never mind. Read previous post about this. Sorry...
Aleksandr Kravets wrote:
> Hello,
>
> I have a Tree control and CTabFolder. When I click on each node of the
> tree a new CTabItem is created, but to focus on the new CTabItem I have
> to click on it. How can I focus on a new created CTabItem automatically
> when the Tree node is clicked?
>
> thanks,
> Alex
Re: CTabFolder focus on new tab [message #466043 is a reply to message #465905] Thu, 29 December 2005 18:31 Go to previous message
Eclipse UserFriend
Originally posted by: shawn666.liu.gmail.com

try CTabFolder.setSelection()

"Aleksandr Kravets" <akravets@klgerweiss.com>
says:doc3hc$u01$1@utils.eclipse.org...
> Hello,
>
> I have a Tree control and CTabFolder. When I click on each node of the
> tree a new CTabItem is created, but to focus on the new CTabItem I have to
> click on it. How can I focus on a new created CTabItem automatically when
> the Tree node is clicked?
>
> thanks,
> Alex
Previous Topic:radio button - setselection - listener
Next Topic:JFace ApplicationWindow: Simple Problem
Goto Forum:
  


Current Time: Sun Dec 08 01:07:08 GMT 2024

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

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

Back to the top