Section 2. properties, Name property, Allcaps property – MagTek SENDKEYS.OCX User Manual
Page 7
![background image](/manuals/413794/7/background.png)
3
SECTION 2. PROPERTIES
NAME PROPERTY
Sets and Returns the control name.
Syntax
SendKeys.Name[ = value]
The Name property syntax has these parts:
Part
Description
Value
A string value specifying the
name of the control.
Example
Assume a SendKeys control is named ‘SendKeys1’
Msgbox SendKeys1.Name
Displays “SendKeys1” in a message box.
SendKeys1.Name = “SendKeys2”
Changes the name of the control to ‘SendKeys2’
ALLCAPS PROPERTY
Sets and returns the AllCaps property.
Syntax
SendKeys.Allcaps[ = value]
The Allcaps property syntax has these parts:
Part
Description
Value
A Boolean value specifying the
status of AllCaps.
Remarks
If AllCaps is True then any data sent as keystrokes will first be converted to upper case. If the
AllCaps property is False then the keystrokes are sent without any conversion. Upper case
letters will remain uppercase and lower case letters will remain lower case.
Example
SendKeys.AllCaps = True
Data Type
Boolean