Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 120 - 2615_KEC
P. 120

    MAKING CLICK EVENT FOR BUTTON
                      To make click event for button, follow the given steps:

                      Step  1   Click on button Talking_Me.

                      Step  2   Drag and drop when Talking_Me. Click do to workspace.

                      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, follow the given steps:

                      Step  1   Click on TextToSpeech1 block.

                      Step  2   Click and hold the call TextToSpeech1.Speak message block.

                      Step  3   Drag it over to the workspace and drop it over the when Talking_Me.Click do
                                block.

                      This block will execute when the button on our app is clicked and make our phone speak.

                      118   Premium Edition-V

| 115 116 117 118 119 120 121 122 123 124 125 |