Microsoft KB Archive/167679

= INFO: Placement of Screen Code with Functional Conversion =

Article ID: 167679

Article Last Modified on 5/12/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q167679



SUMMARY
This article explains where the code snippets for the Screen Code and the READ Clauses from a FoxPro version 2.x screen are copied with a Functional conversion in Visual FoxPro versions 3.0, 5.0 or later.



MORE INFORMATION
When a FoxPro version 2.x screen is converted to a Visual FoxPro Form with the Functional Conversion option, then the Code snippets for the Screen Code and the Read Clauses are transferred as follows:   Before Conversion              After Functional Conversion -             ---   Screen Code: Setup                   Load Event of the Form in the FormSet Cleanup and Procedures  Procedures and Functions are copied to                               a file with an .SPR extension and with the same name as the screen. Any code that is not part of a procedure or function is copied to the Unload Event of the FormSet

Screen Read Clauses: Show                    ReadShow Event of the FormSet Activate                ReadActivate Event of the FormSet Deactivate              ReadDeactivate Event of the FormSet Valid                   ReadValid Event of the FormSet When                    ReadWhen Event of the FormSet NOTE: Visual FoxPro version 5.0 or later cannot convert a FoxPro version 2.0 screen.

