Page 100 - KEC Khaitan C5 Flipbook
P. 100
Similarly, after adding Button1, add Button2 with Text as Stop and Button3 with Text as
Reset setting their BackgroundColor, FontSize, TextColor, and Shape as needed.
Step 6 Drag a Label1 from the Palette to the Viewer.
Step 7 Click on the label to edit its properties on the right-side panel and set Text to 0
(this will update as steps are counted), FontSize to 30, TextAlignment to center,
and TextColor to black.
Similarly, after adding Label1, add Label2, click on the label to edit its properties on the
right-side panel, and set Text to Steps, Font Size to 26, TextAlignment to center, and
TextColor to black.
Step 8 Click on Blocks in the top-right corner to switch to the Blocks Editor and start
coding the app's functionality.
Step 9 Click on the block.
The list of coding blocks appears.
Step 10 Drag the when Button1.Click block to the workspace.
Step 11 Click on the block.
The list of coding blocks appears.
98 Premium Edition-V

