512 views
in GUI Development by
A lot of instances of customized class need to be created and accessed as global. How to implement it?

If  using autoobject, the value of member properties at the custmized class can't be initialized by the EWS.

3 Answers

0 votes
by
 
Best answer
An instance of class in a autoobject of other class can't be initialze by EWS. Add it to global.
by

Typically, autoobjects represent the data model of your application or serve as interfaces to the underlying target device.

0 votes
by

You can create an instance of a class dynamically during runtime by using the new operator. If the class is a visible component (derived from Core::View) and you want to make it visible on the screen, you need to Add() it.

0 votes
by

May be, what you are looking for are the Embedded Objects. Within one class you can nest instances of other classes.

by
Yes, you are right. EWS can only set the value to the embeded objects directly. I have to add lots of instance globally.

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

...