BUG: NODEFAULT Is Ignored in Text Box KeyPress Event CodeID: Q138376 The information in this article applies to:
SYMPTOMSThe NODEFAULT clause is ignored in the KeyPress event of a text box custom class based on the text box base class.
WORKAROUNDTo work around this, perform the following: 1. Edit the form. 2. Click the text box on the form. 3. Right-click the KeyPress event in the property sheet, and then click
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Problem1. Create a form, and place a text box on the form. 2. In the KeyPress event of the text box, enter the word, NODEFAULT. 3. Save the text box as a class. 4. Delete the text box from your form. 5. Place an instance of the text box class on your form. You can do this by 6. Run the form and note that you are unable to type in the form. This is
7. Edit your form, and add the following line to the KeyPress event of the
8. Run your form. Note that you can now type into it, but each letter you
9. Edit your form, and from the KeyPress event of your text box, delete the
10. Run your form. Note that now you can type into it even though you
KBCategory: kbprg kbbuglist
KBSubcategory: FxprgClassoop vfoxwinbuglist3.00 buglist3.00b buglist5.00
Additional reference words: 5.00 3.00 3.00b kbvfp300 kbvfp500 kbvfp600
|
Last Reviewed: August 10, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |