WD: Definition of the .WidowControl and .DfltTrueType Parameters

Last reviewed: November 12, 1997
Article ID: Q176393
The information in this article applies to:
  • Microsoft Word for Windows, versions 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a

SUMMARY

When you record a Wordbasic macro, if you click Options on the Tools menu and select the Print tab, the following statements are included in the recorded parameters:

   .WidowControl=1, .DfltTrueType=1

WordBasic Help does not define these parameters.

MORE INFORMATION

.WidowControl and .DfltTrueType are remnants of the Word version 2.x WordBasic commands. They are defined as follows:

   .WidowControl   If 1, sets the Widow/Orphan Control option.

                   If 0, turns off the Widow/Orphan Control option.

                     Widow/Orphan control prevents Word from printing a
                     Short line (for example the last word in the last line
                     of a paragrph) as the first or last line at the top or
                     bottom of a page.

                   To set the Widow/Orpan control in Word versions 6.x,
                   7.x, on the Format menu, choose Paragraphs and click the
                   Text Flow tab.

   .DfltTrueType   (Not used in Word versions 6.x and later.)

                   If 1, sets the Use TrueType Fonts As Defaults option.

                   If 0, turns off the Use TrueType Fonts As Defaults
                   option.

                   Use TrueType Fonts As Defaults prints using True Type
                   fonts where possible.

                     NOTE: This option is available only if you use
                     Microsoft Windows version 3.1 and later.

These parameters, as recorded, are ignored in Word versions 6.x and later.


Additional query words: arguments
Keywords : ntword winword wordnt kbmacro
Version : WINDOWS:2.0,2.0a,2.0a-CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0,7.0a
Platform : WINDOWS
Issue type : kbinfo


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: November 12, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.