Microsoft KB Archive/189722

= BUG: Form Ignores the Height Change of a Form Template =

Article ID: 189722

Article Last Modified on 12/11/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q189722



SYMPTOMS
A form created from a form template ignores changes made in the Height property.



RESOLUTION
In the form's Init method, programmatically set the Height property. For example, add the following line to the form's Init event: This.Height=275



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.



MORE INFORMATION
Form templates allow the use of a standardize form design to reduce development time of similar forms.

Steps to Reproduce Behavior
 Create a form class with the following properties:

Height = 173

MaxHeight = 200

 Choose the Tools menu pad and the Options menu bar. Select the Forms tab and set the form template class to the new form class created in step 1. Create a new form and change the default MaxHeight property to 300 and the Height property to 275. Save and run the form. Note that the Height is not the same as it was in the Designer. Modify the form and verify that the Height is 173 rather than 275 (to which the Height was changed).

Additional query words: kbVFp600bug kbOOP kbvfp600

Keywords: kbbug kbnofix KB189722

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.