ArcPad Scripting Object Model
WaitCursor Method
See Also  Send comments on this topic.
Code
Required. A Long that represents the wait pointer code.
Application Object : WaitCursor Method

Glossary Item Box

Description

Changes the pointer to the wait pointer.

Syntax

object.WaitCursor ( Code )

Parameters

Code
Required. A Long that represents the wait pointer code.

Remarks

Code is a long representing the wait pointer code. The following Codes are supported:

Code Description
1 Display the wait pointer.
0 Restore the wait pointer</ TD>
-1 End the wait pointer.
Example


Sub DoSomething
  'Display the wait pointer
  Application.WaitCursor (1)
  'Do some lengthy processing
  'Remove the wait pointer
  Application.WaitCursor (-1)    
End Sub

See Also

© 2012 All Rights Reserved.