Page 64 - 2611_SmartGPT Pro V(5.0) C-6
P. 64

Step  9    Click on Button4 and set: Text to Reset, BackgroundColor to Orange, FontSize to 20 or

                           larger, FontBold to Checked, Shape to Rounded and TextColor to Black.

























                  Step  10   Click on the Drawing and Animation component from the Palette.
                  Step  11   Drag and drop a Canvas onto the Viewer below the Reset button.

                  Step  12   Click on the Canvas and set the Width and Height to Fill Parent.





























                  Step  13   Click on the Blocks button in the top-right corner to switch to the Blocks Editor.

                  Step  14   Click on the Button1 block from the Blocks palette to open its blocks.
                  Step  15   Drag the when Button1.Click block to the workspace.

                  Step  16   Click on the Canvas1 block from the Blocks palette to open its blocks.
                  Step  17    Drag the set Canvas1.PaintColor to block and place it inside the when Button1.Click

                           block.
                  Step  18   Click on the Colors block from the Blocks palette to open its blocks.

                  Step  19   Drag the red colour block and connect it to the set Canvas1.PaintColor block.



                   62   Computer Science (V5.0)-VI
   59   60   61   62   63   64   65   66   67   68   69