PRB: DO FORM Does Not Display a FormID: Q132178 The information in this article applies to:
SYMPTOMSWhen a DO FORM command is issued, the form is not displayed. The form is never displayed, and no instance variable is created.
CAUSEWhen a form created with the Form Designer is run, the instance is not created under the following circumstances:
WORKAROUNDEnsure that all object members of a form are created before the form is instantiated. For example, ensure that no Init method of a control returns false (.F.) if you want to be able to create a form. You can use the Visible and Enabled properties of a control to monitor its visibility and accessibility.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior1. Create a form. 2. Select the CommandButton control from the Form controls toolbar, and 3. In the property sheet, ensure that the Object is Command1, and select
4. Save the form.
5. In the Command window, type cReturn= .t. 6. Run the form. The form is displayed. 7. In the Command window, type
8. Run the form. because the command button is not created, the form is not
Additional reference words: 3.00 VFoxWin
KBCategory: kbtool kbprb
KBSubcategory: FxtoolFormdes
|
Last Reviewed: July 28, 1995 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |