FIX: Form Wizard Ignores Design Area Limitation (163784)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
This article was previously published under Q163784 SYMPTOMS
When using the Form Wizard to design a form for a table that contains a
particular mixture of fields of different data types and lengths, the Form
Wizard may ignore the limits of the design area, producing a form that does
not show the last few fields or the navigation buttons at the bottom of the
form.
When the design area is 640x480 pixels and the horizontal and vertical
spacing are both 12 pixels, the form will display 17 rows of fields and
labels, but any additional fields, up to enough for 22 rows, will not be
visible in the design area.
In other cases, the Form Wizard will issue a message that there are too
many fields and that there are three alternative workarounds. The "Add
Pages" alternative is already checked, but is ignored by the Wizard.
There are two alternative, incorrect results. One shows the same 17 rows
of fields and labels, but will not show the additional fields or navigation
buttons.
The resulting page of the other alternative shows 10 fields and the
navigation buttons. This usually occurs when the fields have captions.
NOTE: Not all installations of Visual FoxPro 5.0 will exhibit any form of
this behavior. Multiple tests made on Windows 95 and Windows NT 4.0 exposed
the problem but other tests on similarly loaded systems did not.
RESOLUTION
In either of the above cases, the simplest workaround is to add several
dummy fields to the table structure. The number will vary depending on the
particular table and may run as high as 22 additional fields. After the
form is designed, those fields may be deleted from the pages that hold
them. In some cases, the extra fields can even be deleted from the table
structure, and the Form Wizard will operate correctly.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This has been corrected in Visual
FoxPro 6.0.
Modification Type: | Major | Last Reviewed: | 10/16/2002 |
---|
Keywords: | kbBug KB163784 |
---|
|