Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » CTabFolder
CTabFolder [message #459232] Wed, 03 August 2005 21:27 Go to next message
Eclipse UserFriend
Originally posted by: vsravanthi2002.yahoo.co.in

Hi
I am working with CTabFolder with multiple CTabItems. I am having a group
of displacy widgets on the CTabItem which are placed on a composite. Now
when I have more then one CTabItem and when I work on the first CTabItem
and when I switch, the results of the previous action are displayed on all
the CTabItems.
So can anyone tell me how to have all the ations sperate
Re: CTabFolder [message #459396 is a reply to message #459232] Mon, 08 August 2005 18:14 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
You're probably not invoking CTabItem.setControl(Control) on each of your
CTabItems correctly. Some example CTabFolder snippets (just note the loops
that create the CTabItems and set their contents) are:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet82.java?rev=HEAD&a mp;content-type=text/vnd.viewcvs-markup
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.swt.sni ppets/src/org/eclipse/swt/snippets/Snippet165.java?rev=HEAD& amp;content-type=text/vnd.viewcvs-markup

Grant

"Sravanthi" <vsravanthi2002@yahoo.co.in> wrote in message
news:1dd6bc0192cbf6d22fbc68c9d9cb3462$1@www.eclipse.org...
> Hi
> I am working with CTabFolder with multiple CTabItems. I am having a group
> of displacy widgets on the CTabItem which are placed on a composite. Now
> when I have more then one CTabItem and when I work on the first CTabItem
> and when I switch, the results of the previous action are displayed on all
> the CTabItems.
> So can anyone tell me how to have all the ations sperate
>
Previous Topic:One question about Tips.
Next Topic:table - column alignment with image in 2nd column
Goto Forum:
  


Current Time: Tue Apr 23 15:54:21 GMT 2024

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

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

Back to the top