Page 96 - TP_Modular_V2.1_Class8
P. 96

Block Editor

                  This is the place where we code the components added in the Design Window and instruct
                  them about the actions to be performed by them. We can open it by clicking on the Blocks
                  button at the top of the window.
                                                                                                    Blocks Button








                                                                                           Backpack
                        Built-in Blocks



                        Components
                                                                          Workspace
                           Blocks



                                                                                               Trash


                      Built-in Blocks: It contains all the predefined blocks in the application. They are responsible
                     for handling operations like Math, Text, Logic and Control.
                      Component Blocks: It contains relevant blocks for the components we have added in the
                     Designer window.

                      Workspace: All the blocks for coding are arranged in the workspace.
                      Trash: It is used for deleting blocks that are not required.
                      Backpack: It stores the copy of all the blocks even when we exit App Inventor. It is used to
                     copy and paste blocks to different screens and projects.

                  Making Click Event for Button

                  Step 1  Click on button Talking_Me.
                  Step 2  Drag and drop When Talking_Me.Click do block, on the workspace.


























                   94       Modular (Ver. 2.1)-VIII
   91   92   93   94   95   96   97   98   99   100   101