List Info

Thread: dialog opens behind the document




dialog opens behind the document
user name
2007-10-19 10:17:42
Hello!

I have a calc template with macros and a dialog in it.
The main macro is bound to the event "create
document" of the template.
The macro loads the dialog.

If i double click the template file (linux, ubuntu) and a
other
OOo-window is open, the dialog starts behind the new
document in front
of the former top OOo-window.

What can i do, that the dialog opens on the top (in front of
the new
document)?

oDialog.setFocus()
bResult = oDialog.execute()

doesn't work in this case.

Mathias
-- 
·-· cut here
·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·->8·-·


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeapi.openoffice.org
For additional commands, e-mail: dev-helpapi.openoffice.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )