[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.platform.swt] Re: TabItem visibility
|
Hi Frank,
TabItems cannot be hidden, they can only be created and disposed. So you
can "hide" it by disposing and later re-creating the tab. You will not have
to re-create all of the tab's controls in this scenario since they're
parented on the TabFolder, you can just use
myRecreatedTabItem.setControl(theCompositeThatHoldsTheSetOfControlsThatWereO
nThePreviousInstanceOfThisTab).
Grant
"frank Buloup" <buloup@xxxxxxxxxxxxxxxx> wrote in message
news:ekjhdq$3f8$1@xxxxxxxxxxxxxxxxxxxx
> Hello,
>
> Do you know how to set the visibility of a TabItem in a TabFolder ?
>
> thanks a lot,
> regards,
> frank
>
>