Page 170 - Learn to Program - Basic-256
P. 170

Chapter 11: Mouse Control – Moving Things Around.                               Page 154































        Sample Output 71: Mouse Clicking




                           clickx  or clickx()
                           clicky  or clicky()
                           clickb or clickb()


                           The values of the three click functions are updated each time a
                           mouse button is clicked when the pointer is on the graphics output
                           area. The last location of the mouse when the last click was
                           received are available from these three functions.



















                                                       © 2019 James M. Reneau (CC BY-NC-SA 3.0 US)
   165   166   167   168   169   170   171   172   173   174   175