Re: [dba-dev] UnoComponent: invoking from form control

2010-05-06 Thread Fernand Vanrie

Peter ,

The evenst are there and they Works fine for me on Windows ?

They are there not working  GridControllcolumns  only on the  
gridcontroll itself


Fernand

Hi,

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)


Regards

Peter


-
To unsubscribe, e-mail: dev-unsubscr...@dba.openoffice.org
For additional commands, e-mail: dev-h...@dba.openoffice.org



-
To unsubscribe, e-mail: dev-unsubscr...@dba.openoffice.org
For additional commands, e-mail: dev-h...@dba.openoffice.org



Re: [dba-dev] UnoComponent: invoking from form control

2010-05-06 Thread Frank Schoenheit, Sun Microsystems Germany
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