Microsoft KB Archive/117579

{|
 * width="100%"|

Undocumented Arguments for DisableInput Statement

 * }

Q117579

-

The information in this article applies to:


 * Microsoft Word for Windows, versions 6.0, 6.0a

-

SUMMARY
The DisableInput WordBasic statement responds to the following undocumented arguments:

Argument   Explanation ---

2       Completely disables the ESC key. ESC cancels neither a macro nor a dialog box.

3       Disables the mouse.

4       Completely disables both the ESC key and the mouse.

5       Enables the ESC key for canceling both macros and dialog boxes.

6       Enables the mouse. Microsoft did not document these arguments because they were not fully tested in time for the release of Word. Microsoft did, however, use some of these arguments in the macros supplied with Word.

Note: Because these DisableInput arguments are undocumented, they may not be included in future versions of the product. Therefore, to ensure future functionality of your WordBasic macros, you may want to use other macro commands instead.