John,
It sounds like you are working on a cross-platform screen, and it has both DOS and Windows records. In this case you must modify both before you can generate the code. If you really only run it in Windows, then open the .SCX file as a table (exclusive), delete all the records with "DOS" in the platform field (i.e. only leave those that are "WINDOWS"), PACK it and close it. Now you should be able to generate the code in FPW. WARNING: Make sure you backup the welcome.scx & .sct files BEFORE trying this.
Rick
>Hi all,
>
>I've got a FPW 2.6 screen that displays up to three lines of text (passed via parameters) and has an "OK" check box to close the window. I have another need for a similar box that displays four lines, so I copied the three-liner to a new screen, added a fourth parameter, but it won't generate. Every time I try to generate the screen, I get the following (in a "Genscrn Error"-titled window):
>
>DOS and Windows setup code has different parameters
>Genscrn Line Number: 718
>Generating from: f:\foxwin\mer\welcome.scx
>Press any key to cleanup and exit...
>
>The three-line screen (which works perfectly) has the following parameters being passed to it:
>
>yn1, yn2, yn3, yn
>
>I simply changed the new four-liner to have the following parameters:
>
>yn1, yn2, yn3, yn4, yn
>
>Any ideas?
>
>Thanks much!
>
>John
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement