WD6X: MacWord: WordBasic Error 135 on Dialog Box Sizing Command

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

SYMPTOMS

WordBasic commands to control the size or position of a custom dialog box may return the following WordBasic error in Word for the Macintosh:

   WordBasic Err=135
   The () statement is not available in Word for ()

CAUSE

The following commands, which control the size or position of user dialog boxes in Word 6.0 for Windows, are not available in Word 6.0 for the Macintosh and return errors:

   AppSize
   AppMove
   AppWindowHeight
   AppWindowWidth
   AppWindowPosTop
   AppWindowPosLeft

AppMove, AppWindowPosTop, and AppWindowPosLeft change the location of the dialog box on the screen.

The remaining commands (AppSize, AppWindowHeight, and AppWindowWidth) control the height and width of a custom dialog.

WORKAROUND

To force some items to disappear and others to appear, you can use the DlgVisible command to hide one command and view another in its place.

You can use this to show many different items in one dialog box. For example, to show help for a dialog box, create a button that hides all the items in the dialog box and makes the help text visible. When you click the button clicked again, it reverses the process.


Additional query words: platform environment cross-platform xplat
Keywords : macword word6 kbcode kbmacro
Version : MACINTOSH:6.0
Platform : MACINTOSH
Issue type : kbprb
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.