List Boxes Can Shrink When a Form Is Saved in Text FormatLast reviewed: January 5, 1996Article ID: Q141940 |
The information in this article applies to:
- Standard and Professional Editions of Microsoft Visual Basic, 16-bit only, for Windows, version 3.0
SYMPTOMSEvery time a project is run, a list box appears with a smaller height than when the form was previously saved. The behavior seems to depend on whether the form was saved in text format or binary, and the font used in the list box. The list box does not grow any smaller once an executable is made. The same problem described above can also occur for a file list box.
STATUSThis problem was fixed in both 16- and 32-bit versions of Visual Basic 4.0 (where all forms are saved only in a text format).
MORE INFORMATIONThe problem described above occurs under certain circumstances. First, the height of the list box shrinks after the form has been saved in text format. (To save a form in text format, highlight the form in the project window and on the File menu, click Save File As, with the Save As Text check box selected.) If the form is saved consistently in the Binary format, then the problem is not reproducible. Secondly, the problem seems to only occur for certain fonts in the list box. MS Sans Serif and Truetype fonts such as Arial are font choices where the problem does not occur. Small Fonts and Courier are examples of fonts in the list box where the problem does occur.
WorkaroundThe following are three possible workarounds:
Steps to Reproduce the Problem
|
Additional reference words: 3.00 4.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |