PrApi: TestButton

TestButton

Gets the devices button state.

 Public Function TestButton(
	  ByVal keycode As Long ) As Long

Parameters

keycode
The code of the button/key.

Return Values

On error -1 is returned and the error code/string in the GX system is set appropriately.

Languages

[Visual Basic] Public Function TestButton(ByVal keycode As Long) As Long

[Delphi] function TestButton(keycode: Integer): Integer;

[C++] long TestButton(long keycode);

Remarks

See Also

Class PrApi Overview PrApi Properties PrApi Methods Suspend TestDocEvent