cool...it worked. Thanks a lot. On Sun, Jun 14, 2009 at 7:06 PM, <[email protected]> wrote:
> That's a simple counter I += titleSize..... And as patrizio said use wnd > manager, then u can set the active one to front and the rest to back > > Sent from my BlackBerry® from Iusacell wireless device from Iusacell > > ------------------------------ > *From*: Kinjal Khandhar > *Date*: Sun, 14 Jun 2009 18:56:14 -0400 > *To*: <[email protected]> > *Subject*: Re: Regarding Windows inside a tabpanel > > Hi, > That works but my question was to set the position of those windows.I want > the windows positioned in such a way that I can see only the title bar of > each window behind and the first window should be completely visible.As and > when I click the window it should be visible. > > setPosition accepts (int,int).How do I calculate the positions of each > window? > > Thanks in advance. > > -Kinjal. > > On Sun, Jun 14, 2009 at 5:53 PM, Patrizio De Michele > <[email protected]>wrote: > >> Maybe you need to use the WindowMgr class, with which you can choose the >> z-order of the windows.... >> bye patrizio >> >> 2009/6/14 Kinjal Khandhar <[email protected]> >> >> Thanks it worked. >>> But I am facing one more issue.I want to open multiple windows in a >>> single panel one above the other ie. in an overlapping fashion.I was looking >>> for some getAbsoluteLeft and top and calculate the postions of window.But >>> how do I set that position. >>> >>> Can someone help me implement multiple overlapping windows in a tabpanel. >>> >>> Thanks in advance. >>> >>> -Kinjal >>> >>> On Thu, Jun 11, 2009 at 10:32 AM, Patrizio De Michele < >>> [email protected]> wrote: >>> >>>> setConstrain(true) make the window to stay always physically inside its >>>> container. >>>> I dont't know what happens if its container disappear (like a not >>>> selected tab ), >>>> but i believe nothing happens. >>>> I agree on the TabListener solution and hiding/showing window on >>>> tabchanges. >>>> Bye Patrizio >>>> >>>> 2009/6/11 Gabriel Ernesto Gutierrez Añez <[email protected]> >>>> >>>>> Here is the definition of a >>>>> Window<http://www.gwt-ext.com/docs/2.0.4/com/gwtext/client/widgets/Window.html>on >>>>> GWT-Ext >>>>> A specialized panel intended for use as an application window. *Windows >>>>> are floated and draggable by default*, and also provide specific >>>>> behavior like the ability to maximize and restore (with an event for * >>>>> minimizing, since the minimize behavior is application-specific). Windows >>>>> can also be linked to a WindowGroup or managed by the WindowManager to >>>>> provide grouping, activation, to front/back and other application-specific >>>>> behavior. >>>>> >>>>> Im not sure but i think if you do setConstrain(true); , you get the >>>>> behavior you want, but i'm not sure, if that does work then try the >>>>> listener >>>>> thing.. >>>>> >>>>> Hope it helps, >>>>> >>>>> _____________________ >>>>> Ing. Gabriel Gutiérrez >>>>> >>>>> >>>>> >>>>> On Thu, Jun 11, 2009 at 9:14 AM, Gabriel Ernesto Gutierrez Añez < >>>>> [email protected]> wrote: >>>>> >>>>>> Windows are manage differently they are always on top. >>>>>> You should implemt TabListener on the TabPanel object and use the >>>>>> method >>>>>> >>>>>> doBeforeTabChange() >>>>>> >>>>>> check out http://www.gwt-ext.com/docs/2.0.4/ >>>>>> >>>>>> so if the tab is another than the first one, just hide the window. >>>>>> >>>>>> Hope it helps, >>>>>> _____________________ >>>>>> Ing. Gabriel Gutiérrez >>>>>> >>>>>> >>>>>> >>>>>> On Thu, Jun 11, 2009 at 9:08 AM, Kinjal Khandhar < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Hello All, >>>>>>> I am using GWT-EXTs window and tabpanel. >>>>>>> >>>>>>> I have a tabpanel with multiple tabs.In first tab I have fetch button >>>>>>> onclick of which a window should be opened.I want this window to be >>>>>>> added in >>>>>>> that first tab only.If I move to a different tab window should >>>>>>> disappear. >>>>>>> >>>>>>> I tried tabpanel.add(window)--->Didnt work. >>>>>>> >>>>>>> Also I tried window.show(button.getId). >>>>>>> >>>>>>> *I see the functionality implemented in the demo.Can anyone please >>>>>>> tell me how can I close those windows when I switch between tabs.In >>>>>>> short I >>>>>>> want to make the windows tab specific which should be as per logic.* >>>>>>> >>>>>>> Thanks. >>>>>>> >>>>>>> Kinjal. >>>>>>> >>>>>>> >>>> >>>> >>>> >>> >>> >>> >> >> >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
