369 views
in GUI Development by
Hi!

I've two screens: Screen A and Screen B. I have push button in both the screen. When I switch from screen A to Screen B , if  Push button in screen A is disabled, then push button in Screen B also should be disabled automatically. Currently I'm checking the status of Pushbutton of Screen A (enable or disable) in Screen B and set the status of Push button in screen B accordingly. But it always detect  pushbutton in screen A as disabled.

My question is when switch from one screen to another, will the pushbutton in previous screen automatically disabled? How should I achieve this task?

Thank you

1 Answer

0 votes
by

Hello Thanushiyah,

My question is when switch from one screen to another, will the pushbutton in previous screen automatically disabled? How should I achieve this task?

Assuming you are referring to the Push Button widget, such automatism is not existing. The 'enabled' status of the button is determined by its property Enabled. Please review your implementation. Are you really evaluating the property Enabled of the affected push button?

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

...