System Reference Summary : 3. System Classes : InputEvent Class : InputEvent Methods
 
Share this page                  
InputEvent Methods
Method
Return
Value
Description
Inherited From
ActivateFields(
fields =
array of FormField
[, bitmap = BitmapObject]
[, operation = varchar(32)])
integer
Makes the specified fields responsive to input events
Defined
Duplicate()
UserObject
Makes a duplicate of the object, placing a reference to the new object in a reference variable
UserObject
SpriteKey
(action =
integer,
modifierkey = integer,
responsecode = integer)
varchar(32)
Creates a lookup key used to store (or access) a response to an event
Defined
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
UserObject
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
UserObject
LastInputAction
(action =
varchar(32)
[, frame = FrameExec]
[, targetfield = FormField])
integer
Populates the InputEvent attributes with the values corresponding to the most recent input action of the specified type
Defined
LoadEventBehavior
(location =
Object,
eventkey = varchar(32),
responsetype = varchar(32),
response = Object,
[intervals = array of IntegerObject]
 [, delay = integer]])
integer
Stores a "response" agent plus an eventkey at the specified location. When an inputevent subsequently triggers that eventkey, the response defined by the agent is executed.
Defined
QueueResponse
(frame =
FrameExec,
hostfield = FormField)
integer
Enables inputevent-invoked procedures to make frame and waitfor calls
Defined
RemoveEventBehavior
(location =
Object,
eventkey = varchar(32),
responsetype = varchar(32))
integer
Removes the event-behavior entry corresponding to this event key and response type
Defined
Response(type = varchar(32)
[, responseset = array of Object]
[, err = varchar(32)], specification
[, startindex = integer]
[, stopindex = integer])
Object
Returns a response agent of the specified type and specifications, to be used as the response parameter in a LoadEventBehavior method call. For definitions of specification, see the Language Reference Guide.
Defined
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
UserObject
TriggerEventBehavior
(location =
Object,
eventkey = varchar(32),
responsetype = varchar(32))
integer
Triggers one or all of the event-behaviors defined at this location
Defined
StopEventBehavior
(location =
Object,
eventkey =
varchar(32))
integer
Stops a time-based behavior started by the TriggerEventBehavior method
Defined