getRegisteredKeys

getRegisteredKeys(array: IntegerArray);

The getRegisteredKeys method of the Control class populates an array of the keys that are in effect for the control of the receiver (that is, the keys that will generate keyUp, keyDown, and keyPress events when they are pressed).

This method applies only to controls that can get the focus and therefore receive key events.

This array contains entries only if the registerKeys method of the Control class or TextBox control class has been called.