Page 84 - CodePilot V5.0 C6
P. 84

Step  5    Click on the User Interface component.

                   Step  6    Drag and drop Button1 into the HorizontalArrangement.

                   Step  7     Click on Button1 to edit its properties on the right-side panel: Text to Red, FontBold,
                              BackgroundColor to Red, FontSize to 20, Shape to Rounded and TextColor to Black.

                                Similarly, add Button2 and Button3 into the same HorizontalArrangement and set
                              Text: Blue  and Green,  BackgroundColor: Blue  and Green,  FontSize: 20 or larger,
                              FontBold to Checked, Shape: Rounded, TextColor: Black.

                   Step  8    Add Button4 from the User Interface drawer below the HorizontalArrangement.

                   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.































                   82
                        CodePilot (V5.0)-VI
   79   80   81   82   83   84   85   86   87   88   89