BUG: MaxLength Property Is Ignored When Alignment Property Is Changed (285932)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q285932 SYMPTOMS
When the MaxLength property of a TextBox control is set at design time, and the Alignment property of the control is changed at run time, the MaxLength value is ignored.
RESOLUTION
To work around this problem, reset and assign the MaxLength property at run time. See the code sample in the "More Information" section.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 10/15/2002 |
---|
Keywords: | kbBug kbCtrl kbDSupport KB285932 |
---|
|