Converted FoxPro 2.6 screens run in a compatibility mode provided by the WindowType property. To understand how the Visual FoxPro architecture supports the screens in READ compatibility mode, see Overview of READ Compatibility Architecture.
The following table describes the basic feature mapping in converted screens.
FoxPro 2.6 screen feature | Visual FoxPro feature |
Screen set | Form set |
Screen | Form contained in a form set |
READ level | Page contained in a page frame |
READ screen mode | WindowType property = 2 |
READ MODAL screen mode | WindowType property = 3 |
You can change converted screens to run directly from the .SCX file. To remove the need for the .spr file created during conversion, you might need to change any files that call the converted screen. You might also need to move code from the .SPR file to the converted screen (.scx file).
You can change converted FoxPro 2.6 screens to the Visual FoxPro event model.
To change converted screens to Visual FoxPro forms
Note When you make this change, the READ compatibility properties and events are no longer available and the WindowType setting cannot be changed back.
Read-compatibility events | Form events and methods |
ReadActivate event ReadDeactivate event ReadShow event ReadValid event ReadWhen event |
Activate event Load event Show method Deactivate event |
For details on scoping, see Scope of Data Containers.
Note The Visual FoxPro 3.0 defaults in the FontSize, FontBold, and ColorSource properties differ from the Visual FoxPro, version 5.0 and later defaults in the same properties.
For more information, see Converting Visual FoxPro 3.0 Files. Also see Scope of Data Containers, and Tracking Event Sequences.