In Unit 4 you saw that you can lay out an app in App Lab using elements in Design Mode. This drag-and-drop approach is quick and easy, but you can only create a page like this before you run the program. Sometimes you want the elements of your app to change while it's running, and to do that we'll need to use code.
Each element has several properties - such as the x and y position, color, and text. The
setProperty block lets you set properties of UI elements while the program is running. Any property you can set in Design Mode can also be set in code using
setPropertyin the UI Controls toolbox.
Found a bug in the documentation? Let us know at email@example.com