Felix E. Klee wrote: > Am Donnerstag, 19. Januar 2006 13:16 schrieb Martin Thoma: >> I didn't try it, but perhaps this might help: >> Document.getCurrentController().getFrame().getContainerWindow().toFront() > > Thanks, this does the trick! There's only one minor peeve remaining: The > message box is displayed in front of the old document, not in front of the > new document.
Oops, if I had seen the answer before I could have saved my mail. :-) Anyway, I already explained why the message box is displayed in front of the old document. If the tip from Martin really works your message box should appear in front of the new document if you created it *after* putting the new window to front. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
