27 views
in GUI Development by
would there be a way to make the components appear dynamically by writing code in a brick other than init?

1 Answer

0 votes
by

Hello VonMartello,

would there be a way to make the components appear dynamically by writing code in a brick other than init?

The code to create/show views or components can be executed at any time - not only in context of an Init method. For example, you can execute the code in a slot method triggered by a Push Button.

Best regards

Paul Banach

by
oh very cool!, can show some example? or there are in documentation?
by

Hello VonMartello,

can show some example? or there are in documentation?

let me recommend you our Knowledge Base. For example, the section Compose the component programmatically. Note the methods Add() and Remove() to 'add' and to 'remove' a view (or component) to or from another component. This is the lowest level approach to compose the appearance programmatically.

With Managing Dialogs a higher level is available which is ideal to fade-in/out alerts, panels, message boxes, dialogs, menus, ...

I hope it helps you further.

Best regards

Paul

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

...