开发者

Getting the application's enabled disabled event while opening a pop up

I开发者_如何学编程n my flex application I have several pop ups, when a pop up is opened the application is disabled and enabled back when the pop up is closed.

Is there way to get application's enabled / disabled event and perform some activity like hiding a display object.

I know, I can get open and close event of the pop up but I don't want to write it for all the pop ups and pay for maintainability.

PS: I am using PopUpManager to create pop ups.

Thanks


You enable/disable the whole application? Why not just use the 'modal' flag in your popup?

And what are you trying to accomplish? Just have a component disappear altogether when the popup is visible? There's several ways of doing that either through setting the visible flag manually, using events, or even binding on a specific boolean flag.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜