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

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 : kbmacro kbdtacode macword word6
Issue type : kbprb
Technology :

Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use.