Hi,

we recently discussed the behavior of "ThisComponent" when macros in
database documents would be implemented, and such macros would be called
from a form or report.

After digging deeper into the topic, I somewhat changed my mind and in
fact think we need to introduce another global variable, to differ
between "the document where the macro is located" and "the document from
where the macro was called".

I wrote down some thoughts on this in [1] - see the big red section
labeled TODO.

At the moment, I am still undecided about the best way here. Part of the
reason is that I myself do Basic scripts way too seldom to really judge
the expectations people could have here.

So, this is a call for feedback: If anybody feels comfortable with the
matter, then please tell me what you think would work best.

Imagine a macro configured to appear in the toolbar of a form, but
located (as macro) in the embodying database document. You want to
execute this macro from within the form, perhaps from within the
database document, and surely from within the Basic IDE during
developing it.
What's your expectations how ThisComponent should behave?

Any feedback is appreciated.

Thanks & Ciao
Frank

PS: That's the last issue which I need to solve and implement before I
    can release a milestone build. See [2], milestone M1, for what you
    can expect. Only if you're interested in getting your hands on some
    brand-new stuff, of course ...

[1]http://wiki.services.openoffice.org/wiki/Macros_in_Database_Documents#Changes_with_Macros_in_Database_Documents
[2]http://wiki.services.openoffice.org/wiki/Macros_in_Database_Documents#Implementation_Milestones

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to