Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Defining a global property for an application
Message
 
 
À
10/04/2000 16:03:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00357663
Message ID:
00357669
Vues:
14
>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.
>
You could create a public variable:
public goVar
goVar = createobject("mycustomobject")
Or you could add an object to an already existing global object like _Screen or _VFP:
_Screen.AddObject("goVar",MyCustomObject")
Larry Miller
MCSD
LWMiller3@verizon.net

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

Click here to load this message in the networking platform