; dxMouseDown Example ; Until user presses ESC, show the mouse button pressed While Not dxKeyHit(1) button$="No" If dxMouseDown(1) Then button$="Left" If dxMouseDown(2) Then button$="Right" If dxMouseDown(3) Then button$="Middle" dxPrint button$ + " mouse button pressed!" Wend