The information in this article applies to:
SYMPTOMSAfter doing a Functional Conversion of a screen from FoxPro 2.x to Visual FoxPro, a page frame is placed on the form whose Height and Width properties are set to 30,000 pixels. The properties of the page frame are read-only. CAUSEThese dimensions are hard coded into the Convert.app file. RESOLUTIONThere are at least three resolutions for this if these dimensions are a problem. Before attempting any of these resolutions, please backup your files. First ResolutionAfter the screen has been Functionally Converted, open the form file (.scx) as a table and look in the Class column until the page frame is found. This will probably be record 5 in the .scx file. For the page frame record, open the Properties memo field and change the Height and Width to the desired values.Second ResolutionModify the Convert.app file. The source code for the Convert.app file is located in the ..\VFP\Tools\Convert folder.
Third ResolutionUse the Visual FoxPro Transformer application. This could be the best solution since other aspects of converted forms can be changed with the Transformer and many forms at one time. The Transfrm.app file is located in the ..\VFP\Tools\Transfrm folder. This application was not available until Visual FoxPro 5.0 on the Windows platform.NOTE: The Visual FoxPro Help file states the following: The Transformer is not supported by Microsoft Support Services either electronically or via telephone.To use the Transformer to resolve the problem described in this article, use the following steps after performing a Functional conversion on the form(s):
STATUSThis behavior is by design. MORE INFORMATIONThe page frame is so large when converted to allow you to place controls outside of the visible portion of the form for special behaviors. Not every developer is going to do this. However, if one does, the page frame is large enough to contain the controls. Since this page frame is invisible when you run the form, this should not effect the functionality of existing screens converted to Visual FoxPro. Steps to Reproduce Behavior
REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base: Q135266 PRB: Converting 2.x Screen Does Not Allow Adjustable Pageframe Additional query words:
Keywords : kbOOP kbMiscTools kbVFp300b kbVFp500 kbVFp500a kbVFp600 kbXBase |
Last Reviewed: August 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |