Search the web
Sign In
New User? Sign Up
ydn-javascript · Yahoo! User Interface Library Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Changing panel's modal attribute   Message List  
Reply | Forward Message #43409 of 52127 |
Re: Changing panel's modal attribute

Any ideas on this?
Thanks much,
Ania.

--- In ydn-javascript@yahoogroups.com, "aniad" <aniad@...> wrote:
>
> I create a panel into which I display a flex widget in an iframe. The
> cost of creating the widget and its utility is such that we want to
> create it once and hide it when not shown. Because of quirks in
> browsers, hiding a flex widget often makes its external APIs/functions
> impossible to access, therefore I "hide" the panel, with flex in an
> iframe in it, by putting it at negative xy coordinates. That seems to
> work fine. However, there is an issue with modality. When first
> creating the panel I create it "modal:false" as it is only created and
> put off-screen (not shown), however, when the panel is to be shown we
> want it modal. I tried:
>
> myPanel.cfg.setProperty ( "modal", true );
>
> but that didn't work, ie the panel still showed up modless. Is there
> a way to change the `modal' attribute of a panel once it is created?
>
> Thank you,
> Ania.
>





Wed Jan 7, 2009 8:18 pm

aniad
Online Now Online Now
Send Email Send Email

Forward
Message #43409 of 52127 |
Expand Messages Author Sort by Date

I create a panel into which I display a flex widget in an iframe. The cost of creating the widget and its utility is such that we want to create it once and...
aniad
Online Now Send Email
Jan 6, 2009
11:05 pm

Any ideas on this? Thanks much, Ania....
aniad
Online Now Send Email
Jan 7, 2009
8:18 pm

I don't mean to press, but does anyone have an idea about changing modality of a panel once it was created? Thank you, Ania....
aniad
Online Now Send Email
Jan 9, 2009
5:35 pm

I'm still hoping someone can let me know if this is possible, changing the 'modal' property of a panel after it has been created. If that is not possible, I...
aniad
Online Now Send Email
Jan 12, 2009
11:19 pm

Hi Ania, You should be able to set modality after initial creation. However, as currently implemented the modal switch is only acted upon when the panel/dialog...
Satyen Desai
sdezzi
Online Now Send Email
Jan 13, 2009
5:03 am

Thank you Satyen! I didn't see your original reply (even though I checked every day to see if there was one..., that's why I posted again). This works great!...
aniad
Online Now Send Email
Jan 16, 2009
5:30 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help