Page 121 - Touchpad_Plus_V3.2_Class 8
P. 121

Making Click Event for Button

                 This is an Event Handler block that will handle what happens when the button on your app is
                 clicked.
                 Program the TextToSpeech Action

                 To program the TextToSpeech action on button, follow the given steps:

                 Step 1  Click on the TextToSpeech1 block.

                 Step 2  Click and hold the call TextToSpeech1.Speak message block.
                 Step 3  Drag the block to the Workspace and drop it onto the block labeled when Talking_

                          Me.Click do block.
































                                                    Program the TextToSpeech Action

                                                                                             App Development         119
   116   117   118   119   120   121   122   123   124   125   126