LO Basic: displaying dialog (form)

I have just created a dialog in LO Basic. In order to execute (i.e. display dialog), I used following command:

DialogLibraries.LoadLibrary(“Standard”)

oDialog1 = CreateUnoDialog(DialogLibraries.Standard.DialogNAME)

oDialog1.Execute()

However, executing dialog in this way has some problems I cannot solve. Such dialogs does not allow to go back to document, edit text etc. until their execution is terminated or closed… because the focus is entirely on Dialog (Form)… editing document is possible only when my dialog is closed… How can I create dialog that is displayed “always on top”, but it is possible to go back to document and perform some document changes?

The magic word you are after is non-modal, although always on top might not work well. You are welcome :slight_smile:

According to OOo forum this is possible. Looks like you need to use awt (whatever that is).

A code example: http://www.oooforum.org/forum/viewtopic.phtml?t=9883
User dysmas claiming it to be useful: http://www.oooforum.org/forum/viewtopic.phtml?t=14095

Thanks… I need to analyze this, so I come back later :slight_smile: