ScreenUPG Assembly > ScreenUPG Namespace > ScreenUPG Class : waitForCursor Method |
'Declaration
Public Sub waitForCursor( _ ByVal inRow As Integer, _ ByVal inColumn As Integer, _ ByVal wtTime As Integer _ )
Exception | Description |
---|---|
TimedOutException | Thrown if waitHostQuiet times out. |
try { int inRow = 17; int inColumn = 20; int wtTime = 3000; // Wait for cursor to appear at row 17, column 2, wait for 3 seconds screen.waitForCursor(inRow, inColumn, wtTime); } catch(TimedOutException toe) { Console.Write("TimedOutException\n"); }
Dim inRow As Integer
Dim inColumn As Integer
Dim wtTime As Integer
'Wait for cursor to appear at row 17, column 2, wait for 3 seconds
screen.waitForCursor inRow, inColumn, wtTime
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2