How to make a switch on screen 2 which changes the background colour of screen 1
I want am making a app I have a switch on screen 2.
I want the switch to change the background colour of screen 1 to black
How to make a switch on screen 2 which changes the background colour of screen 1
I want am making a app I have a switch on screen 2.
I want the switch to change the background colour of screen 1 to black
Every screen has its own objects, so you cant refer directly from a screen to another screens objects or properties.
You can do it this way.
As long as only one screen at a time will be visible, when set property of screen`s 2 switch to a value (true or false), keep that value stored in an app variable…
Then when open 1st screen, just check that value. If true, than set its background color to black.