Instances of Windows

Hello,
I’ve got a button which has a Window/Module callback which opens up another window, but it opens a new instance of the window everytime. The winow is a prefs/settings window, so I don’t want loads of instances of it, how can I make sure only one instance is allowed?

Cheers

Garry

Make it a dialog and make it modal. Then you can block the main window.

If you make it a dialog module instead of a Window module, this will be taken care of automatically.

Great, thanks.