3. System Classes : ButtonField Class : KeyDownData Class
 
Share this page                  
KeyDownData Class
KeyDownData Attributes
Attribute
Data Type
Description
Inherited
From
CharacterValue
integer
Contains the character code of the key the user pressed (R)
Defined
ClassName
varchar(32)
Gives the name of an object's actual type (as opposed to its declared type) (R)
Object
ClientData
Object
Provides a way to associate data with an object (RW)
Object
InstanceIdentifier
integer
Contains a value that uniquely identifies an instance of an allocated object (R)
Object
InstanceReferences
integer
Contains the current number of references to the object (R)
Object
IsExtended
integer
Is TRUE if the key is an extended key (R)
Defined
Modifiers
smallint
Indicates which modifier keys are pressed at the time of the KeyDown or ChildKeyDown event (R)
Defined
PreviousState
smallint
Is the previous-key-state bit from the WM_KEYDOWN or WM_SYSKEYDOWN message (R)
Defined
ScanCode
integer
Contains the scan code associated with the key (R)
Defined
VirtualKey
integer
Contains the virtual key code for the key (RW)
Defined
 
KeyDownData Methods
Method
Return
Value
Description
Inherited From
Duplicate()
KeyDownData
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
IsA(class = classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object