Show/Hide Toolbars

Inventu Viewer+ .NET Programmer's Reference

Navigation: HostScreen Class > Methods

waitForCursor Method

Scroll Prev Top Next More

 

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

 

Inventu Viewer+

 

See Also

 

waitForScreen | waitForUpdate | cursorCol | cursorRow | screenColSize | screenRowSize

 

Applies To: HostScreen object

 


© 2022 Inventu Corporation