waitForUpdate Method
Wait for the next host update. Return TRUE if an update occurred.
bool waitForUpdate(); bool waitForUpdate(int maxTime); |
Arguments
HostScreen
Required. HostScreen object.
MaxTime
Optional. The maximum time to wait in milliseconds.
Remarks
If an update has already occurred since the last putCommand or waitForUpdate the method will return immediately. A time of up to MaxTime milliseconds will be waited before the method will timeout. If MaxTime is not entered a default of 20 seconds will be used, or the time last set in putCommand.
Returns FALSE for timeout, TRUE for update occurred.
Requirements
Flynet Viewer
See Also
waitForCursor | waitForScreen | cursorCol | cursorRow | screenColSize | screenRowSize
Applies To: HostScreen object
© 2016 Inventu Corporation, Flynet LTD