Hi Drew,

Drew Jensen escribió:
The simple case in point - menu handlers as sub procedures - since these receive no event structure they need to rely on thiscomponent to get a reference to the embedded form that the menu is currently displayed on.

what do you mean by "menu handlers"? Something handling the execution of menu items in a menu on a menu bar? the command URL assigned to a menu item (whose protocol can be "macro:///Library.Module.Subroutine")? the subroutine called when the Dispatch Framework executes this URL?

For the first one I can only think of a PopupMenuController
http://api.openoffice.org/docs/common/ref/com/sun/star/frame/PopupMenuController.html

Can't imagine how ThisComponent comes into play here :-(


Regards
Ariel




--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.arielconstenlahaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.

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

Reply via email to