Page 133 - Computer - 7
P. 133

7.  In the Properties panel, set the properties for the button control as follows:

                    Property        Value          Property              Value          Property          Value

                 Text             Tap Me     Text colour            Black            Bold             True

                 Raised           True       Background colour  Blue                 Font size        20

                 Border style     Solid      Border colour          Black            Border width     4










                                 6
                                                                                               7








            8.  Click the Blocks tab and select the Button1 option.
                 The Blocks palette opens.

            9.  Click and drag the When Button1 Click block from the Blocks palette to the Preview pane.


                             8




                                                                                                 9















            10.  Under  the  Blocks  tab,  select
                the Screen1 option.             10
            11.  Click and drag the Set Screen1
                Background  Color  to  block                                                                     11
                from  the  Blocks  palette  and
                place  it  inside  the  When
                Button1 Click block.






                                                                                                             131
   128   129   130   131   132   133   134   135   136   137   138