32 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

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

...