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”.

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.

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.

Leave a Reply

Your email address will not be published.

*

clear formPost comment