SetKeyState Method

This member of RFTerminal Object is supported on iOS, Windows Mobile, Windows CE, Palm, and DOS.

The SetKeyState method remotely sets the current state of the RF device's keypad.

VB

bStatus = object.SetKeyState (nKeyState)

VC++

HRESULT hr = object->SetKeyState (short nKeyState, BOOL *bStatus);

Return Value

bStatus

The status of the function returned as Boolean True or False values. Use the RFGetLastError method to return the error value.

Parameters

nKeyState

The key state for the RF device's keypad. The possible values are:

CAPSLOCK The device's keypad is in caps lock mode.

NORMALKEYS The device's keypad is in normal non-caps mode.

Remarks

For network efficiency purposes, any changes made to an RF device will not take effect until the SetTerminalInfo Method is called. This allows you to change multiple options through the use of a single radio packet rather than using a radio packet for each option.

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal