BBjTriggerData::getKeyCallType

Description

In BBj 11.0 and higher, this method returns the type of KEY call that was used to fire the KEY trigger. This method is only valid from inside KEY triggers.

Syntax

Return Value

Method

string

getKeyCallType()

Parameters

None.

Return Value

The type of KEY call that was used to fire the KEY trigger. Returns one of the following: KEY, KEYF, KEYL, KEYP, or KEYN.

Remarks

None.

Example

REM Get the Trigger object from the BBj File System
    td! = BBjAPI().getFileSystem().getTriggerData()

REM Get the type of key call that was made
    keyType$ = td!.getKeyCallType()

See Also

BBjAPI

BBjTriggerData

ObjectVariables

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.