Re: SWT: How to remove a CTabItem from CTabFolder.

From: Wongoo Lee (iwongu_at_hotmail.com)
Date: 08/29/04

  • Next message: Ed: "Re: Moving label???"
    Date: 28 Aug 2004 17:57:20 -0700
    
    

    Hi Stephan.

    I tried the dispose method to event.browser in the
    CLoseWindowListener. But I think the event.browser should be used only
    in OpenWindowListener to provide new Browser.

    The problem was solved by using event.widget. :-)

    Thanks again.

    stephan@vern.chem.tu-berlin.de wrote in message news:<cgpusr$1a0$1@mamenchi.zrz.TU-Berlin.DE>...
    > Wongoo Lee <iwongu@hotmail.com> wrote:
    > > Hi all.
    >
    > > I added CTabFolder to my program to make multi-tabbed browsing with
    > > Browser widget.
    >
    > > When the Browser need new window, it calls my OpenWindowListener. In
    > > that case, I make new CTabItem, make Browser to it, and supply the
    > > Browser object in the Listener.
    >
    > > When the Browser need to be closed, it calls my CloseWindowListener. I
    > > catched it, but I can't find how to close the related CTabItem,
    > > automatically.
    >
    > > There is no method like CTabFolder.remove(CTabItem ). :-(
    >
    > I'm not sure, but try CTabItem.dispose()
    >
    > Stephan.


  • Next message: Ed: "Re: Moving label???"