Re: window.openDialog, C++

Neil <[email protected]> Sun, 29 Dec 2013 16:10:33 +0000
Newsgroups gmane.comp.mozilla.devel.xpfe
Message-ID <[email protected]>
YuLo wrote:

>I need to know what button the user pressed <OK> or <cancel>.
>Should I save or ignore information the user entered into the dialog form before the window close.
>  
>
I'm going to assume here that you mean a XUL <dialog> that you have 
created. When the user presses OK (or uses one of the other methods for 
finishing a dialog) then the dialog XBL generates a dialogaccept event 
which is the point at which you should save information.

-- 
Warning: May contain traces of nuts.