ConMouseButtons function

 

Usage:

Buttons& = ConMouseButtons

 

Legacy Syntax:

Buttons& = MOUSEBUTTONS

 

Pseudo-object Syntax:

Buttons& = CON.MOUSE.BUTTONS

 

Gets the number of buttons on the mouse used by the console.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  Buttons& = MOUSEBUTTONS

#ELSE

  Buttons& = ConMouseButtons

#ENDIF

 

CON.MOUSE.BUTTONS or CONSOLE.MOUSE.BUTTONS may be substituted for MOUSEBUTTONS in programs written for PB/CC 6. The syntax " ... TO Buttons&" may be used instead of "Buttons& = ..."

 

See Also: ConMouse