Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update a form property
Message
De
04/06/2002 12:38:01
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
 
À
04/06/2002 12:04:00
Carlos Mergal
US Bankruptcy Court - Puerto Rico
San Juan, Porto Rico
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00664553
Message ID:
00664575
Vues:
17
If this default only needs to be available for the duration of the Program, it is a good usage for a Global Application object, such as:
oGlobal.AddProperty("MyProperty","")
...
oGlobal.MyProperty = THISFORM.MyTextBox.Value
...
THISFORM.MyTextBox.Value = oGlobal.Myproperty
The Global property is likewise available to any other Form in the program for the duration of the program...

HTH...



>How do I update and save a property in VFP 6.0. For example I have a text object with a value of "x" and I want to change this value to "y" so when the next time the form comes up it defaults to "y".
>
>TIA
>
>Carlos
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform