Flynet Viewer .NET Programmer's Reference

waitForCursor Method

waitForCursor Method

Previous topic Next topic  

waitForCursor Method

Previous topic Next topic  

 

Wait for the cursor to appear at the specified position on the host screen.

 

bool waitForCursor(int row, int column);

bool waitForCursor(int row, int column, int timeOut);

 

Arguments

 

HostScreen

 Required. HostScreen object.

 

row

 Required. The row the cursor is to appear on.

col

 Required. The column the cursor is to appear on.

TimeOut

 Optional. Timeout in milliseconds. Default is set using the Admin Console.

 

Remarks

 

waitForCursor behaves in a similar fashion to the waitForUpdate method, but will only return when the cursor in at the location specified. If the cursor has moved to the position specified it will return TRUE. If it has timed out before the cursor reaches that location it will return FALSE. If the TimeOut parameter is not specified the default for the screenTimeout will be used (as specified for the host by using the Admin Console).

 

This method is particularly useful in a VT environment where screen transitions need to be detected by a change in the cursor position.

 

Requirements

 

Flynet Viewer

 

See Also

 

waitForScreen | waitForUpdate | cursorCol | cursorRow | screenColSize | screenRowSize

 

Applies To: HostScreen object

 


© 2016 Inventu Corporation, Flynet LTD