Next: , Previous: kCADEventIDIdle, Up: CAD events

7.13 kCADEventIDKeyDown


Pressing a key on the keyboard generates a kCADEventIDKeyDown event, unless it is a kCADEventIDAutoKeyDown event.

IO Parameter Type Description
in theCADArea longint Area ID
in theEventID longint kCADEventIDKeyDown
in theEventPhase longint kCADEventPhaseDuring
in theEventData1 longint 0
in theEventData2 longint 0
in theEventData3 longint 0
in theEventData4 longint 0
in theMouseX real 0.0
in theMouseY real 0.0
in theEventValue1 real 0.0
in theEventValue2 real 0.0
in theKeyAsciiValue integer ASCII character value of the pressed key
in theModifiers longint Sum of pressed modifier keys, a mask of modifier key constants
in theTickCount longint Tick count of the system software (a tick is a 1/60th of a second)
in/out theEventResult longint Don’t change.

Keyboard events are not generated