Ask Your Question
0

LO Basic: displaying dialog (form) [closed]

asked 2013-07-15 00:15:38 +0200

Ljiljan gravatar image

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

oweng gravatar image

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?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by Alex Kemp
close date 2015-11-03 23:21:50.744316

1 Answer

Sort by » oldest newest most voted
0

answered 2013-07-15 00:58:51 +0200

mahfiaz gravatar image

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

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

edit flag offensive delete link more

Comments

Thanks... I need to analyze this, so I come back later :)

Ljiljan gravatar imageLjiljan ( 2013-07-15 09:15:18 +0200 )edit

Question Tools

2 followers

Stats

Asked: 2013-07-15 00:15:38 +0200

Seen: 626 times

Last updated: Jul 15 '13