176 views
in GUI Development by
Hi,

We have different menu tables available , each menu has different configuration , can we create one main class for all menu tables

1 Answer

0 votes
by

Hello annemh,

can we create one main class for all menu tables

yes. For this purpose implement a generic menu component. Using this menu component as base class you can thereupon derive individual menus and fill the menus with content (e.g. menu items). Please see in the provided examples the project named Menus. It implements a generic menu components (found on the right in the following screenshot) and uses the generic Menu to create different menus (on the left in the screenshot):

To simplify the creation of menus, Embedded Wizard provides various component templates. The example above is also created using the templates. For more details how to use component templates, please see the section Creating components from templates:

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

...