WD6X:TextBox Control Reverts to Automatic Width in Dialog Editor

Last reviewed: February 3, 1998
Article ID: Q153799
The information in this article applies to:
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1

SYMPTOMS

If you create a dialog box that includes a text box in the Dialog Editor, copy this dialog box definition to a macro editing window, manually change the width or height of the text box, and then copy and paste this code back into the Dialog Editor, the width setting changes to Automatic.

For example, this problem occurs if you manually change either the third number or both the third and the fourth number in the following code:

   TextBox 6, 8, 160, 18, .TextBox1

Button controls are not reverted to Automatic when you paste the dialog box definition back into the Dialog Editor.

This problem does not occur in Microsoft Word for Windows version 6.x and later.

WORKAROUND

To work around this problem, do not paste the dialog box definition into the dialog editor after you modify the width or both the width and the height arguments of the text box control.


Additional query words: textbox
Keywords : macword word6 kbmacro kbprg kbui
Version : MACINTOSH:6.0,6.0.1,6.0.1a
Platform : MACINTOSH
Issue type : kbbug
Solution Type : kbworkaround


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.