WD98: WordBasic.WaitCursor Statement Does Not Work (177619)



The information in this article applies to:

  • Microsoft Word 98 Macintosh Edition

This article was previously published under Q177619

SYMPTOMS

When you use the WordBasic.WaitCursor instruction to change the insertion point to an hourglass, the insertion point is unaffected.

For example, the following statement should change the pointer to an hourglass:

WordBasic.WaitCursor 1

RESOLUTION

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. For more information about the support options that are available and about how to contact Microsoft, visit the following Microsoft Web site: To resolve this problem, use the equivalent Visual Basic for Applications Cursor property.

This example prints a message on the status bar and changes the pointer to a busy pointer.
   Sub WaitCursor()
      StatusBar = "Please wait..."
      For i = 1 To 10000
         System.Cursor = wdCursorWait
      Next i
      StatusBar = "Task completed"
      System.Cursor = wdCursorNormal
   End Sub
				
For more information about the Cursor Property, from the Visual Basic for Applications Editor, click the Office Assistant, type "Cursor Property," click Search, and then click to view "Cursor Property."

NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base:

179216 OFF98: How to Use the Microsoft Office Installer Program

STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

REFERENCES

For more information about getting help with Visual Basic for Applications, please see the following article in the Microsoft Knowledge Base:

163435 VBA: Programming Resources for Visual Basic for Applications


Modification Type:MajorLast Reviewed:6/17/2005
Keywords:kbbug KB177619