Mathias Bauer napisaĆ(a):
> The parent is the one you gave to the toolkit when the
dialog is
> constructed. In your case it is obviously
"None". So it's not surprising
> that you don't find a parent.
Ah, the marvels of copy-and-paste programming. Duh. Thanks a
lot for
pointing this out, Mathias, I'll try specifying a parent
(maybe the
Desktop) and see where I go from there
> In case you have one dialog for all macros you want to
use you should
> consider something like a global variable. That works
in Basic, don't
> know about Python.
>From what I've experienced with Python macros so far it
seems that you
can't have a global variable value that is persisted between
macro calls
(but maybe someone can prove me wrong).
Cheers,
Zbigniew Banach
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|