Re: How to refresh DataSourceBrowser in a FrameControl
Frank Schönheit <[email protected]> Thu, 09 Jun 2011 09:12:28 +0200
| Newsgroups | gmane.comp.openoffice.dba.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Fernand, > Point is : my Datsourcebrowser has no model ? Ah ... the pitfalls of the Basic UNO binding! The controller supports both the XController and XTabController interfaces, both have a getModel() method, so "oController.getModel()" (or "oController.Model") is ambiguous in Basic. It is not defined (to my knowledge) to which of the methods this is resolved - seems to be XController.getModel(), which indeed returns NULL - which is expected, since the DataSourceBrowser does not have an associated document (which would be the XModel returned by XController.getModel()). Basic's syntax to access a method *with* specifying the interface it is defined at is oDataSourceBrowser.com_sun_star_awt_XTabController_getModel() Ciao Frank -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help