in GUI Development by
Hi ,

     How to create global function

  i have application and one class name is test.how to access the test class functions


i am not able to call function

1 Answer

0 votes

Hello Ramesh,

functions (methods) are usable in context of an object only. To have a kind of global method you add an autoobject of your Application::test class to your project. Then you call the method in context of the autoobject as demonstrated in the section Use the autoobject. The autoobject serves as a global instance of your Application::test class in such case.

Best regards

Paul Banach

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint