Hi Marc,

> ThisComponent should represent the component from which it is
> "triggered", the document window firing the event.

Meanwhile, I tend to this interpretation, too. The final argument
perhaps was the "ThisComponent is the same as the desktop's
CurrentComponent" from the Developer's Guide (IIRC Ariel brought this up
here).

> For the new variable I could imagine naming it "ParentComponent" holding
> the base document the definition is stored in.
> 
> Does sound
> 
>       ThisComponent.ParentComponent.BasicLibraries...
> 
> reasonable?

I'd say
    DatabaseDocument.BasicLibraries

Adding a new property to ThisComponent is hardly possible. Also,
"ThisComponent.Parent" already exists in today's forms, and already
denotes the database document. A dedicated variable would just make this
much more explicit and error-prove.

Ciao
Frank

-- 
- 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