Displaying Multiple Dialogs from BASIC

Hal Vaughan <[email protected]> Thu, 16 Jun 2011 03:22:31 -0400
Newsgroups gmane.comp.openoffice.devel.api
Message-ID <[email protected]>
I've mentioned the sticky-note project I'm working on yesterday in two emai=
ls.

Now I'm running into a problem: I'd like to display a number of sticky-note=
s, but to display any kind of dialog in BASIC, I need to do something like =
this:

	oSticky =3D createUnoDialog(DialogLibraries.HalLib.StickyNote)
	oSticky.Execute()

And the program will stop until I close the dialog, either by the close but=
ton, a cancel, or OK, or another button.

That means the only way to have multiple dialogs open is to open one and fr=
om there, open the next, and then open the next and so on.

Is there some way, from BASIC, to display a dialog and leave it open withou=
t it stopping a script?


Thank you!



Hal--=20
-----------------------------------------------------------------
To unsubscribe send email to [email protected]
For additional commands send email to [email protected]
with Subject: help