GPKeyInteractor
Unit : GPInteractorUnit
Association : GPKeyInteractorAsn
Inherits from : GPEventInteractor
Description
- This class defines behavior for certain keys. Using a GPKeyInteractor
and a GPTextArea simultaneously is not suggested. Lower case letters
are not supported.
Public Interface
-
CONSTRUCTOR Init (key: char);
Initializes a GPKeyInteractor for key.
DESTRUCTOR Destroy; VIRTUAL;
Destroys a GPKeyInteractor.
FUNCTION GetKey: char;
Gets the key represented by the key interactor.
PROCEDURE KeyPress; VIRTUAL;
Method called when the specified key is pressed down. This method
should be redefined in a subclass.
PROCEDURE KeyRelease;VIRTUAL;
Method called when the specified key is released. This method should be
redefined in a subclass.
Subclasses
- None
Please report any problems with GP or the documentation to
GP Support
.
Loring Holden