Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_SCREEN = OFF conundrum
Message
 
À
02/04/1999 00:22:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00204538
Message ID:
00204604
Vues:
16
>Hi all ---
>
>This is a major opportunity to call me stupid :-)
>
>Anyway, I am working on an application with top-level forms. This is an area new to me; I've just never had the occasion to work this way before. I have _SCREEN=OFF in a CONFIG.FPW file in the root dir of the application. No dice. Screen shows. So, I put _SCREEN.Hide() in the MAIN.PRG of the app. This works but focus doesn't go to my top-level launcher screen so if the user hits Enter, a desktop app launches (the desktop appears to have focus).
>
>What the heck am I doing wrong? This is consuming me!!

Hiya Gonz,

Markus, of course, is right about removing the underscore in the config file.

Telling you that isn't, however, the purpose of this post. I made that mistake so often, that I finally wrote a generic routine to create the config file in a post setup executable based on information stored in a table. This also has the advantage of being able to ask the user if they want to put a short cut on their desktop or start menu (as opposed to just the program group).

Anyway, I just wanted to let you know that you weren't alone.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform