RobotStudio event

Using the Hour Glass?

How can I use the HourGlass that regularly pops-up on the FlexPendant when it?_Ts busy?  I am writing an application in C# R.A.B. v10.0, and would like to use the hour glass to show that the program is busy.

<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /> 

Is there an easy to turn it on/off?

 

Thanks,

Toby

Comments

  • Public Sub ShowWaitCursor(ByVal blnShow As Boolean)
            '####################################################################
            '
            '       Name: ShowWaitCursor
            '
            '   Abstract: This method is called whenever we need to display the
            '             WaitCursor, aka the Hourglass.
            '
            ' Parameters: blnShow, a boolean that, when true, shows the WaitCursor
            '
            '    Returns: none
            '
            '      Notes: The default cursor Nothing, i.e. there is no cursor shown
            '             when it is set to default. Setting the cursor to default
            '             then has the same effect as hiding the WaitCursor
            '
            '
            '####################################################################
            If blnShow Then
                System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor
            Else
                System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.Default
            End If
    End Sub
    Russell Drown