Hi Laurent :)
You cannot put a dialog window at front _and_ work with another window :
this is not a floating toolbar.
A little improvement is to hide the current document window and show the
dialog.
The dialog window will be visible but of course out of focus if you work
on another OOo window. The user may position the (small) dialog window
next to the other document window, to see both.
Dim dlg As Object, currWin As Object
' dlg is the dialog, of course
currWin = StarDesktop.CurrentFrame.ContainerWindow
currWin.Visible = False
dlg.Visible = True
Wait(10000) ' 10 seconds to work with another document
dlg.dispose
currWin.Visible= True
MsgBox("That's all folks !")
______
Bernard
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]