Name, Rxtimeout, Sessionid – MagTek MTBLUETOOTH.OCX User Manual

Page 9

Advertising
background image

Properties

5

NAME
Sets and returns the control name.

Syntax

CtlMTBluetooth1.Name[ = value]

The Name property syntax has these parts:

Part

Description

Value

A string value specifying the name of the control.

Examples: Assume a MTBluetooth control is named “CtlMTBluetooth 1”.

msgbox CtlMTBluetooth1.Name

Displays “CtlMTBluetooth1” in a message box

CtlMTBluetooth1.Name = “CtlMTBluetooth 2”

Changes the name of the control to “CtlMTBluetooth 2”

Data Type

String


RXTIMEOUT
Sets or returns the communications timeout number.

Syntax

CtlMTBluetooth1.RXTimout[ = value]

The RXTimout property syntax has these parts:

Part

Description

Value A long value specifying the number of

milliseconds the software waits for a response
from the reader before timing out.

Remarks

A value of 1000 represents one second. Default value is 500.

Data Type

Long

SESSIONID
rreturns the SessionID FROM THE LAST CARD READ.

Syntax

[variable =] CtlMTBluetooth1.SessionID

The SessionID property syntax has these parts:

Part

Description

Value A Variant value specifying the Session ID

.

Advertising