Hi all

I've been trying everything I can think of to get a modal titleWindow
pop-up to centre on the screen:

if the itemRenderer button that opens it is at the top of the browser,
part of the titleWindow is out of reach, but is OK if it's opened from
further down the (parent) datagrid.

I'm after positioning to be exactly the center of the screen no matter
which button called it. is this set by the title window's properties?
or the opener (parent)?

Also, I'm a bit surprised that the parent can set some styles of the
titleWindow but not others, even though what I've read says it
should...


these work being set by the parent:

            helpWindow.title="Please Enter Login Information";
            helpWindow.setStyle("borderAlpha", 0.9);

these don't

            // from
http://www.jessewarden.com/archives/2006/01/changing_the_mo.html
            helpWindow.setSize(320, 240);
            helpWindow.setActualSize(320, 480);
            helpWindow.setStyle("modalTransparency", 99);
            helpWindow.setStyle("modalTransparencyColor",0x660000);

any suggestions?

thanx
barry.b


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to