views:

52

answers:

1

Can a Flax Air Window (NativeWindow) be modal? how?

A: 

I think you need to expand on your use case.

If you want it to be modal, do you want to shut down the entire operating system until this window is handled by the user? I doubt that is possible. Do OSes support that in any way? (Other than when crashing).

If you want to prevent your app from being used while this window is up, don't use NativeWindow use a component with the PopUpManager. It has a modal property when creating the popup.

www.Flextras.com
i will open a settings window of my application in a "system" window, and prevent clicking in the application...
caeycae
I wouldn't use Native Window for that. NativeWindow opens up a new Operating System window. Instead create your own "setting" component and open that using the PopUpManager. Take a look at MS Word, or your browser. All the setting Windows are contained within the app.
www.Flextras.com
ok, i will change the windows to components, but in other lenguajes, this is posible. Tanks for the help
caeycae
Which languages? Got any samples? Any test programs that I can run?
www.Flextras.com
In java swing, we can make slave windows.
caeycae