3. System Classes : ButtonField Class : DragInfo Class
 
Share this page                  
DragInfo Class
DragInfo Atttributes
Attribute
Data Type
Description
Inherited
From
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
KeyState
integer
Contains one of the these values: KB_ALT , KB_CONTROL, KB_SHIFT (R)
Defined
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
Source
object
Is the object being dragged (R)
Defined
Target
ActiveField
Is the field over which the object is dropped (R)
Defined
X
integer
Is the X coordinate of the mouse cursor relative to the target field when the primary mouse button is released (R)
Defined
Y
integer
Is the Y coordinate of the mouse cursor relative to the target field when the primary mouse button is released (R)
Defined
 
DragInfo Methods
Method
Return
Value
Description
Inherited From
Duplicate()
DragInfo
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