I have created a dialog box in an UiApp, using,
app.createDialogBox();
I need to close it after viewing the details and return to the home UI. I did not find any
close button in the dialog box.
I saw a function called, addCloseHandler() in the documentation.
Should i use it for closing the dialog, any example or is there any other way?
Sorry if my question is too naive.
After a few tests on this it seem there is an issue 231 and 676 (always classified ‘New’) concerning this method but it was open in september 2010 and july 2011 respectively and nothing seems to move…
So up to now it seems to be a nice looking panel with a small shadow behind it and very shiny grey caption area that supports HTML… not so bad 😉 but that can just be set (in)Visible. The only major difference with other panels is that its place is kept free even if it’s hidden. I used it in a test app (use choose a folder to close / needs authorization on documents & mails, issue 676 has a simple test code)