Archive: Pop up Dialog using nsDialogs/ MUI2


Pop up Dialog using nsDialogs/ MUI2
Hi,

what I want is:

* create a custom page with some controls including a certain button
* on button click -> open a dialog with more controls

Think of the dialog as advanced options to the ones presented on the page. Creating the custom page with controls and the buttons callback is done but I can't see a way of creating the pop up dialog.

What I tried is:

* create the dialog with the common nsDialogs approach (nsDialogs:Create, ...)

which results in letting the installer silently disappear, once running into that code. I had already seen something like this coming while writing the code... but:

What is the way to accomplish such a thing?

Apparently I couldn't find a solution searching various places. Maybe I simply failed in using the right keywords ;).

Thanks in advance,

Till


You can't create a pop-up dialog with the standard set of plug-ins. Try searching for "dialog" in the Wiki. Some useful plug-in might pop-up.


Thanks kichik.

I already thought something like that. But hoped that there would be a nice solution. Anyways, browsing the wiki once didn't help.

I'll give it another try but when i can't find something, what would be the way to make me happy (i.e. "do that pop up")? I guess I have to write my own plug-in, don't I?


If there's nothing good enough on the Wiki, you'll have to write your own plug-in.


I see.

Thanks for your support, keep on the good work.