This describes how to simply change control properties from outside – using button (or something similar).

Context is something like variable – but working only on a particular screen.

Let´s show it in this app, where buttons are switching color on “traffic lights”.

UpdateContext – change controls properties using “something like” variable

How to start?

Let´s add three circles and three buttons.

Then, for circles, set their “Fill” property to a variable. Which means – type there some text without quotations. By doing this, you create a variable.

UpdateContext – change controls properties using “something like” variable

Then for buttons set their OnSelect property to modify values of these variables.

For example this button switches the first red button on and switches the other buttons off.

UpdateContext – change controls properties using “something like” variable