Hi Laurent,

> Mikhail pointed me on AsyncCallback
> 
> using OOoBasic
> asyncCallback  = createUnoService( "com.sun.star.awt.AsyncCallback")
> 
> but is there a way to define the callback method or do i need to 
> implement it as a uno java service

CreateUnoListener might help here:

  oCallback = CreateUnoListener( "callback_", _
    "com.sun.star.awt.XCallback" )
  asyncCallback.addCallback( oCallback )
  ...

Sub callback_notify( Data As Object )
  ...
End Sub

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