DirectEvents - property of the AtouchX object
Description:
Returns or sets the direct events call flag.
The property affects the internal behavior of the object and its eventual change must be made before initializing the connection.
Syntax:
Boolean DirectEvents
Values:
false (default) - When the connection is initialized, an auxiliary thread is created to trigger all events. This approach is slightly slower and more secure.
true - Events will be triggered directly from the threads serving the HW PC. This approach is faster, but on the other hand more dangerous. If the application in the event will cause a delay, then this can lead to communication breakdown or communication errors!
Note:
Property access for read and write.
Example:
JavaScriptVBScriptSelect and copy to clipboard
oATC.DirectEvents = false;
oATC.DirectEvents = false