Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] CTabItem

I have tried the following
1. CTabItem.setControl( null );
    CTabItem.dispose();
2. CTabItem.dispose();
3. CTabItem = null;

Sometimes it gives
1. org.eclipse.swt.SWTException
2. Index Out of Bounds.

I found in the newsgroup since 2004 this problem should have been solved.


On Wed, Apr 15, 2009 at 4:37 AM, Vinh Hoang <llvinhll@xxxxxxxxx> wrote:
> I think your suppose to ask questions on using swt in the platform.swt
> group.
> http://www.eclipse.org/newsportal/thread.php?group=eclipse.platform.swt
>
> but can't you just dispose the tabitem and refresh the folder.
>
> On Tue, Apr 14, 2009 at 1:56 PM, Lau Eng Huat <elijah.gospel@xxxxxxxxx>
> wrote:
>>
>> Hi guys,
>>
>> I'm new in swt. Can somebody help me with some code snippets on how to
>> remove a CTabItem from the CTabFolder.
>>
>> Thanks
>> _______________________________________________
>> platform-swt-dev mailing list
>> platform-swt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>


Back to the top