Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defining a global property for an application
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00357663
Message ID:
00357878
Vues:
19
>>>VFP 5.
>>>
>>>I have forgotten how to do the following.
>>>1. Define a property that is accessible anywhere in the application.
>>>2. Use it in forms or other programs.
>>>
>>>Any help appreciated.
>>
>>In your main prg declare a variable as PUBLIC
>>
>>It is always a good practice to track the PUBLIC variables very closely.
>
>Bret,
>
>There is no reason that a variable declared in the start up program of an application needs to be PUBLIC! A private variable is visible to everything in the application.

Your right Jim, I stand corrected.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform