Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CTabFolder focus on new tab
CTabFolder focus on new tab [message #465905] Wed, 21 December 2005 12:31 Go to next message
Eclipse UserFriend
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 12:40 Go to previous messageGo to next message
Eclipse UserFriend
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 13: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 Aug 31 13:17:38 EDT 2025

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

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

Back to the top