Create a Component using PopUpManager Class in Flex app.

In the PopUpManager Class there is a method to create a Component that is..

createPopUp(); 

Together it looks like..

PopUpManager.createPopUp(this,frmLogin,true);

This will Create PopUp .. if PopUp Exits then raises that Particular Object …

Here frmLogin is the name of the Component.. you have to create a component after writing this line of code otherwise it will show an error “undefined perperty .. “.

The first parameter sepcifies that component is an instance of that particular Object.

Secound parameter specifies the name of that Component.

The Third parameter specifies that Mode of display.. if true than modal,if false Nonmodal.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: