开发者

Flex PopupManager Issue

I have been working with pop-up manager lately and have an inconsistency issue.

This 开发者_Python百科is created at application level, and then various levels are added to the application requiring the pop-up to be brought to the front.

roughly 1 in 5 times the grayish haze will appear (which renders the application unusable) as with any pop-ups, but doesn't display my pop-up window.

This is done within the component that i am popping-up and the application is the component that the pop-up is created on.

PopUpManager.addPopUp(this,application,true);
PopUpManager.bringToFront(this);
PopUpManager.centerPopUp(this); 

Any clue how i can remove this inconsistency?


You're setting the model property of addPopUp to true. That means that the application should always 'gray out', becoming unusable until the pop up is closed.

If you want the application to be usable while the pop-up is displayed, set the modal property to false:

PopUpManager.addPopUp(this,application,false);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜