kCADEventPhaseDuring
kCADEventIDIdle
events are generated when the user interface of a 4D form is idle. This is
useful for handling asynchronous events.
Important
Use kCADEventIDIdle
with care. Long operations in response of this event, will make the
user interface unresponsive.
IO | Parameter | Type | Description
|
in | theCADArea | longint | Area ID
|
in | theEventID | longint | kCADEventIDIdle
|
in | theEventPhase | longint | kCADEventPhaseDuring
|
in | theEventData1 | longint | kCADTrue if the application is frontmost, kCADFalse if not
|
in | theEventData2 | longint | Mode on the Mode palette (without the effect of modifiers keys), a mode constant
|
in | theEventData3 | longint | kCADTrue if the event is generated during a track
(see kCADEventPhaseTrack and kCADEventIDSpecialClick ), kCADFalse if not
|
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 | 0
|
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.
|