English
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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?

click to hide/show revision 2
retagged

updated 2014-01-07 00:07:19 +0200

oweng gravatar image

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?