Section 1. properties, Name, Settings property – MagTek MTPPSWIPE.OCX User Manual
Page 5
![background image](/manuals/413792/5/background.png)
1
SECTION 1. PROPERTIES
NAME
Sets and returns the control name.
Syntax
PortPowerSwipe.Name[ = value]
The Name property syntax has these parts:
Part
Description
Value
A string value specifying the name of the control.
Examples: Assume a Port Power Swipe control is named “PPS1”.
msgbox PPS1.Name
Displays “PPS1” in a message box
PPS1.Name = “PPS2”
Changes the name of the control to “PPS2”
SETTINGS PROPERTY
Sets and returns the baud rate, parity, data bit, and stop bit parameters.
Syntax
PortPowerSwipe.Settings[ = value ]
The Settings property syntax has these parts:
Part
Description
Value
A string expression representing the
communications port settings, as described below.
Remarks
If value is not valid when the port is opened, the PortPowerSwipe control generates error 380
(Invalid property value).
Value is composed of four settings and has the following elements:
BaudRate, Parity, DataBits, StopBits
The default is 9600,N,8,1