PRB: Moving Wizard-Generated Code from Windows to MS-DOSLast reviewed: August 28, 1995Article ID: Q122337 |
The information in this article applies to:
SYMPTOMSA screen created in FoxPro for Windows by using the Wizards won't run correctly in FoxPro for MS-DOS. You see blinking and flashes when you attempt to run the resulting SPR code in FoxPro for MS-DOS.
CAUSEThis occurs because the Windows GUI environment has a larger display area than MS-DOS.
RESOLUTIONTo run Wizard-generated code on the MS-DOS platform, you must copy the Wizard-created .SCX and associated .SCT file to the MS-DOS environment. Then use the Transporter to convert them for use in the native MS-DOS environment. For the example given in the More Information section, you would copy the .SCX and .SCT files; then choose File, Open on the CUSTOMER screen to invoke the Transporter and create MS-DOS objects. Once in the screen tool, make any necessary modifications to the screens. Then choose Program, Generate from the FoxPro menu to generate MS-DOS-specific code. Then the transported code can be run on the MS-DOS platform. NOTE: If you simply re-generate the code, your screen will NOT be fully functional. This is because the navigation buttons will be off the screen when the un-changed screen is brought into FoxPro and then regenerated. You will have to move things around in order to get all fields and buttons displayed on one screen.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Demonstrate BehaviorTo use the following information, you must have installed the tutorial databases in the tutorial directory and have access to the CUSTOMER database in both FoxPro for MS-DOS and FoxPro for Windows. This demonstration uses the Screen Wizard, so to follow it, you will need version 2.6 of both packages.
|
Additional reference words: blink transport convert move FoxWin FoxDos
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |