a global variable which holds the current window number

97 views
asked Jul 23, 2019 in GUI Development by MikeZ
Hi,

Our application has multiple screens, I would like when a screen is open that  numerical variable  takes a unique value dependent on that screen. This variable would then be visible to my device driver. In VB or Delphi, I would onCreate set variable to some value, this assignment would only happen once while the screen is open.  How do I achieve the same thing in Embedded Wizard.

Thanks

MikeZ

1 Answer

0 votes
answered Jul 23, 2019 by Paul Banach

Hi MikeZ,

maybe you are looking for the Init method? The method is executed when new instance of the respective class is created.

Best regards

Paul Banach

commented Jul 24, 2019 by MikeZ
Hi Paul,

Thank you, I will try it out.

MikeZ

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

...