Hi Peter, > in Uno dialogs you can bind an event to a dialog control: either a macro > or a method of a uno component. > > In form controls I'm missing the latter. Any hints? (hoping Frank is > reading here yet)
I can't remember ... that's so long ago ... :-P No, this doesn't work for form controls, they basically accept the script URL you attach to an event to the scripting framework. The feature of calling methods of an UNO component has, sadly, been implemented bypassing the scripting framework, so this doesn't work for form controls. However, it should be easy to embed a macro in the document which does nothing but instantiating a service and calling a method, shouldn't it? Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Impress http://graphics.openoffice.org - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Sitz der Gesellschaft: - - Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten - - Amtsgericht München: HRB 161028 - - Geschäftsführer: Jürgen Kunz - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@dba.openoffice.org For additional commands, e-mail: dev-h...@dba.openoffice.org