[EMAIL PROTECTED] wrote:
Hi. I appreciate any responses ahead of time. I have a dialog which calls
several macros. These macros need to access information from a form;
however, since they are called by the dialog, the event structure has no
information about the form.
How can I access the form from these macros?
If the document is the current document, then you can access the
document using ThisComponent. Next, extract the forms from the document.
I demonstrate this in AndrewBase.odt from my web site (on the database
page).
--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info: http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]