540 views
in GUI Development by
Hi,

I'm trying to create a class as  A, inside of which I've added one property as Core::Group type. I've created a object of this class A, and gave one value in the Core::Group property. I've created one more class as B, inside of which I've added one method, inside of the method I'm trying to call the SwitchToDialog method with the property value configured from the object class A. So How to call the SwitchToDialog method with the dialog screen.

1 Answer

0 votes
by

Hello Dinesh,

the SwitchToDialog() method is available in classes descending from Core::Group. Also important, the object in context of which you invoke SwitchToDalog() has to be part of the view tree. Otherwise the dialog remains invisible. Since I don't know your application case nor the inheritance of the classes A and B it is difficult to provide you more detailed help.

Best regards

Paul banach

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

...