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.
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