Microsoft KB Archive/66899

CR/LF Not Supported in Dialog Textbox in 1.10

PSS ID Number: Q66899 Article last modified on 07-21-1993

1.00 1.10 1.10a WINDOWS

Summary: In a Microsoft Word for Windows version 1.10 dialog box definition, Carriage Return and Line Feed (CR/LF) are no longer supported. Version 1.00 allows CR/LF to display in a text box. This is not by design, and was consequently changed in 1.10 to center a line of text vertically within a textbox.

More Information: In Word version 1.00, a line of text in a textbox is displayed at the top of the box, regardless of the box’s height. Under 1.00, a CR/LF can be used to display multiline text in a textbox. This was unintended. None of the provided Word for Windows 1.00 commands, macros, or example templates use this feature. In version 1.10, the textbox has been changed to center the line of text vertically within the defined height. Along with this change, the ability to display multiline text has been eliminated. For information on workarounds to this limitation, query in the Microsoft Knowledge Base on the following words: multiline and textbox

Additional reference words: w4wmacro TextBox multi line multiple-line user-defined 1.00 1.10 1.10a