kCADEventPhaseDuring
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
%CAD area is not the current object on a 4D form
%CADView and %CADBackground
Tab, Shift-tab and Return key combinations
Enter and Command-dot keys
kCADEventIDObjTranslate event
instead)
kCADEventIDEditClear event instead).
kCADEventIDModeChange event instead).