Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Don't want windows to open in main window

Hello all,
When my app loads it opens a window called 'index', then opens a window called 'wrapper'. Inside the 'wrapper' window is a tabbedBar with two buttons that each open a window.

When the tabbedBar buttons are clicked their windows open in the 'index'(grandparent) window rather than the 'wrapper'(parent) window. Is it possible to have them open in 'wrapper'?

My problem is that I have a form that when opened, slides the 'wrapper' window down and if the tabbedBar buttons are clicked while it's down their windows just dump out at the top of the screen…I need them to be contained nice and neatly inside the 'wrapper' window regardless of its position.

Thx!

— asked July 1st 2010 by Kelly Redd
  • mobile
  • open
  • window
0 Comments

3 Answers

  • Accepted Answer

    ok figured it out! instead of opening as windows i included them in the wrapper window and just let the tabbedBar menu buttons set their visibility to either true or false.

    thanks for the response jeff.

    — answered July 1st 2010 by Kelly Redd
    permalink
    0 Comments
  • hard to understand without some sample code. can you post give us a code snippet example ?

    — answered July 1st 2010 by Jeff Haynie
    permalink
    0 Comments
  • Sure can!

    Tried to whittle it down to the specifics: http://pastie.org/1026599

    — answered July 1st 2010 by Kelly Redd
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.