Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 108 - 2615_KEC
P. 108

    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.

                      Step 12  Drag  the  call Pedometer1.Start block  to  the
                                workspace and connect it to Button1.Click.

                      Similarly, for Button2, drag the when Button2.Click event block
                      to  the workspace,  then drag the  call  Pedometer1.Stop block
                      and connect it to Button2.Click.

                      Step 13  Drag the when Button3.Click block to the workspace.
                      Step 14  Drag the call Pedometer1.Reset block to the workspace and connect it to Button3.

                                Click.
                      Step 15  Click on the            block.

                                The list of coding blocks appears.

                      Step 16  Drag set Label1.Text to and attach the               0 inside it.

                      106   Premium Edition-V

| 103 104 105 106 107 108 109 110 111 112 113 |