A UI element that contains one or more other controls in an app.
Most apps have multiple Screen controls that contain Text Box controls, Button controls, and other controls that show data and support navigation.
BackgroundImage – The name of an image file that appears in the background of a screen.
Fill – The background color of a control.
ImagePosition – The position (Fill, Fit, Stretch, Tile, or Center) of an image in a screen or a control if it isn't the same size as the image.
OnHidden – How an app responds when the user navigates away from a screen.
OnVisible – How an app responds when the user navigates to a screen.
Distinct( DataSource, ColumnName )
Add a Radio control, name it ScreenFills, and set its Items property to this value:
Don't know how to add, name, and configure a control?
Name the default Screen control Source, add another Screen control, and name it Target.
On Source, add a Shape control (such as an arrow), and set its OnSelect property to this formula:
Want more information about the Navigate function or other functions?
In Target, add a Shape control (such as an arrow), and set its OnSelect property to this formula:
Set the Fill property of Target to this formula:
If("Red" in ScreenFills.Selected.Value, RGBA(255, 0, 0, 1), RGBA(54, 176, 75, 1))
From Source, press F5, click or tap either option in the Radio control, and then click or tap the Shape control.
Target appears in the color that you chose.
On Target, click or tap the Shape control to return to Source.
(optional) Click or tap the other option in the Radio control, and then click or tap the Shape control to confirm that Target appears in the other color.
To return to the default workspace, press Esc.