MouseZ
Zpos = MouseZ()
 
Parameters: NONE
Returns:

    Zpos = The current Z position of the mouse wheel
 

      The MouseZ() function return the current Mouse Wheel position of the mouse.



FACTS:


      * none




Mini Tutorial:


      This example reads the mouse wheel position and draws a circle in place of the mouse pointer.

  
  
; turn the mouse pointer off
  Mouse off
  
  Do
     Cls RGB(0,0,0)
     
     Print "Use the Mouse Wheel To Control the Circle Up/Down"
     
   ; read the mouse wheel position
     y=MouseZ()
     
   ; draw circle
     Circle GetScreenWidth()/2,y,5,1
     
   ; Display the Screen and wait for the user to press a key
     Sync
  Loop
  
  




 
Related Info: MouseButton | MouseMoveX | MouseMoveY | MouseX | MouseY :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com