Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update a form property
Message
De
04/06/2002 12:57:13
 
 
À
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:
00664591
Vues:
24
>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".

Carlos

Do you mean at runtime? You need a way to persist the change as the property will have the same instanced value next time around from whatever is set in its property sheet or set in its Init()

You could persist it in a file (INI, XML, Registry, DBF, TXT, whatever) and then read in in the Init() of the object that contains this property.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform