PRB: DropDown Combo Box May Display Partial String (89219)
The information in this article applies to:
- the operating system: Microsoft Windows 3.1
- the operating system: Microsoft Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
This article was previously published under Q89219 SYMPTOMS
If the Visual Basic for Windows Combo Box Style is set to "0 - Dropdown
Combo," you may see only the rightmost portion (right-aligned string) of
the text displayed in the text box portion of the combo box at run time.
This problem only occurs if the combo box is too narrow to display the
entire string.
WORKAROUND
To work around the problem, set the combo box Style property to
"2 - Dropdown List" to change the Style property displays to the
left part of the string.
Another alternative is to design the combo box with a wider dimension
by increasing the width to greater than 1440 twips (the equivalent of
one inch). For example, if you set the Width property to 4320 twips,
the width increases to approximately three inches -- a size of combo
box that would hold the entire string in the example shown in the
More Information section below.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbprb KB89219 |
---|
|