Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Configuration File
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00427610
Message ID:
00427632
Vues:
12
>If I want to change the screen properties, do I have to store everything in a .prg and run that from the COMMAND option? For example, I am changing the default screen back and fore colors (actually, that's all I'm doing).

Is this part of an application or do you want to do this in your development environment?

If it's part of your application then I would do as part of you main program. Add a SCREEN=OFF in your CONFIG.FPW. This will make the screen invisible. In your main program, set the appropriate colors and then _Screen.Visible = .T.. Having a COMMAND in your CONFIG file causes problems with your apllication. I haven't done it since my FPW days, so I don't remeber the exact behavior. It either skipped the COMMAND entirely or it ran your COMMAND and did not run your application. Neither of which was desirable.

If it is your development environment, then use Vlad's suggestion of a program. Once you have the program doing the color settings, I'm sure you'll think of other things to add as time goes on.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform