FIX: Command Button's Default Property Cannot Be ChangedID: Q148683 3.00 3.00b WINDOWS kbprg kbbuglist kbfixlist The information in this article applies to:
SYMPTOMSA command button's Default property is set to true (.T.), and it can't be set back to false (.F.). This Results in a command button that fires its Click event whenever the user presses the ENTER key anywhere on the form. This problem occurs when all of the following are true:
WORKAROUNDHere are two possible workarounds:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.
MORE INFORMATION
Steps to Reproduce Problem1. Create a new form. 2. On the Form menu, click "Create a Form Set," and then click "Add a New 3. Select the Form1 form. Place a Text box and two command buttons on the
4. Double-click the Command1 button to bring up its Code window. Enter the
5. Double-click the Command2 button to bring up its Code window, and enter
6. Select the Form2 form, and bring up the Property Sheet. Place a command
7. Set Form2's Visible property to false (.F.).
8. Save and Run the Form Set. KBCategory: kbprg kbbuglist kbfixlist KBSubcategory: FxprgClassoop VFoxWin buglist3.00 buglist3.00b fixlist5.00 Additional reference words: 3.00 3.00b
|
Last Reviewed: February 23, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |