Call public methods from other form

Add-in Express™ Support Service
That's what is more important than anything else

Call public methods from other form
 
Uwe Thaden


Guest


Hi, maybe a too stupid question, but how can I call methods of _IMPL-file from other forms?

E.g. I have the type TAddInModule = class(TadxCOMAddInModule) and put there in public a method called DoInAddin which I want to call from an other form, where I have uses GetContact_IMPL;

Thanks,
Uwe
Posted 18 Mar, 2005 13:53:49 Top
Dmitry Kostochko


Add-in Express team


Posts: 2741
Joined: 2004-04-05
Hi Uwe,

You can pass the TAddInModule reference to your form. For example by reintroducing the constructor or by calling some method of you form with TAddInModule parameter.



Posted 19 Mar, 2005 08:40:40 Top