-- Gambas.JochenGeorges - 24 Dec 2004

How to get the position of the mouse


GetMousePosition.png
' Gambas class file

PUBLIC SUB DrawingArea1_MouseMove()

  TextBox1.text = Mouse.X 
  TextBox2.text = Mouse.Y 

END