Page 30 - Computer Genius Class 07
P. 30

Making click event for button
                  To ma e clic  e ent  or  utton   ollo  the gi en steps
















                          1   lic  on  utton
                          Talking_Me.







                                                2  Drag and drop when Talking_Me.Click do to  or space.


                  This is an Event Handler  loc  that  ill handle  hat happens  hen the  utton on your app is clic ed.

                  Program the TextToSpeech Action
                  To program the Te tToSpeech action   ollo  the gi en steps


                                                   3  Drag it o er to the  or space and drop it o er the
                                                   when Talking_Me.Click do  loc .

















                         1   lic  on
                        TextToSpeech1
                         loc .








                                             2   lic  and hold the call TextToSpeech1.Speak message  loc .


                  This  loc   ill e ecute  hen the  utton on our app is clic ed and ma e our phone spea .



                       28    Computer Genius-VII
   25   26   27   28   29   30   31   32   33   34   35