The parent of the popup is set to "this". We pass no arguments to centerPopup. According to the docs this uses the parent specified in createPopup. (But I've also tried it with "this" to no avail.)
Yes, I understand that it is hard to dig in without a test case. Sadly popups work well in some places in my app and not in others. I was hoping that someone out there had similar problems and had made sense out of this. --- In flexcoders@yahoogroups.com, Manish Jethani <[EMAIL PROTECTED]> wrote: > On 6/11/05, Eric Raymond <[EMAIL PROTECTED]> wrote: > > We've been having a number of problems with popup windows doing > > strange things. > > As Alex said, it's hard to say without looking at your code. If you > could create a simple test case that shows the problem, that'd be > cool. > > > 1) They popup behind the window which created them. > > Did you pass 'this' as the first argument to > PopUpManager.createPopUp() from the window that created them? You > need to specify the parent of the popup window. Make sure you got > that right. > > > 2) They pop up in the upper left even though we asked them to be > > centered over their parent via centerPopup(). > > Again, did you pass 'this' as the argument to centerPopUp() ? 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/