FIX: Label Text Box Accepts Too Many Characters Without ErrorID: Q134242 3.00 WINDOWS kbdisplay kbfixlist kbbuglist The information in this article applies to:
SYMPTOMSIf 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.
CAUSEThe 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.
WORKAROUNDEnter only the characters needed for the label, and pre-determine that the text string has 255 or fewer characters.
STATUSMicrosoft 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.
MORE INFORMATIONA caption entered in a property sheet text box is limited to 255 characters. Characters beyond that number are not accepted in the text box.
Steps to Reproduce Problem1. Start Visual FoxPro. 2. In the Command window, enter this command:
3. In the Command window enter the following command to bring up the Forms
4. On Tools menu, click Options.
5. Click the Controls tab. 6. Click the Add command button. Select mylib from the dialog box. 7. Click the Label box and enter a character string longer than 255 8. Click the check mark button to accept the label entry. The label
9. Click the Set as Default button at the bottom of the pageset. If
10. On the Forms Controls toolbar, click the Class Library tool.
Additional reference words: 3.00 VFoxWin fixlist3.00b buglist3.00
KBCategory: kbdisplay kbfixlist kbbuglist
KBSubcategory: FxotherDisplay
|
Last Reviewed: October 22, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |