Hi Oliver,
Yes, I need a dialog because of the amount of information to display. I think 
that whether it be modal or not won't change the problem.
I'll investigate using the FrameActionListener. For now, I have resorted to 
closing the dialog each time the Open button is clicked and the file/files 
is/are opened.

Thanks.
      De : Oliver Brinzing <oliver.brinz...@gmx.de>
 À : api@openoffice.apache.org 
 Envoyé le : Vendredi 5 décembre 2014 16h28
 Objet : Re: [EXT][GUI] Autoclosing of a dialog when exiting the application
   
Hi, Amenel,

it seeems "OnCloseApp" is fired as last event if the last frame is closed
(if quickstart is not enabled) or if quickstart is closed (if there is no other 
frame).

Do you need a modal dialog?
maybe a sidebar integration could be the better solution? or try using a 
"window"

maybe it can help adding a frameactionlistener to retrive frame actionevents:
https://www.openoffice.org/api/docs/common/ref/com/sun/star/frame/FrameAction.html

Regards

Oliver

-- 




---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org



  

Reply via email to