350 views
in GUI Development by

Hello EW team and others,

I'm facing a problem that might be easy to solve.

I have a main window (B1), now when I press the button below it creates a new window (B3) with the following code (B2).

However, if you change your mind, you can click on the X at the top right (B3).

What do I have to do now so that the window closes correctly and I only have the main window?

 

Best regards,

Justin

B1:

B2:

B3:

Full window without all widgéts:

 

1 Answer

0 votes
by

Hello,

it seems to me that you want to create some dialog with a close button on the upper left corner. However, you do not create a dialog component - you create the single ingredients dynamically and bring that on the screen. Let me recommend to consider this software design and try to follow more a component oriented design.

Please check the documentation about Creating new components and Managing dialogs for further details.

I hope this helps.

Best regards,
Manfred.

 

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...