FIX: Label Text Box Accepts Too Many Characters Without Error
Article ID: 134242
Article Last Modified on 3/24/2000
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
This article was previously published under Q134242
SYMPTOMS
If you follow the process described in the next paragraph to enter a label
longer than 255 characters, you end up losing the characters at the end of
the label or the system may cause a fault and cause Visual FoxPro to quit.
This problem occurs when on the Tools menu, you click Options. Then you
click the Control tab, enter a string longer than 255 characters in the
label, and click the check mark button. You may see an error message when
you click the Set as Default button.
CAUSE
The Visual FoxPro version 3.0 program code that displays the keystrokes
that enter the label string in the text box does not check for string
length.
WORKAROUND
Enter only the characters needed for the label, and pre-determine that the
text string has 255 or fewer characters.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem was corrected in
Visual FoxPro 3.0b for Windows.
Additional query words: VFoxWin fixlist3.00b buglist3.00
Keywords: kbbug kbfix KB134242