Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Runtime - setting properties permanantly
Message
De
19/07/1998 07:26:07
 
 
À
17/07/1998 17:55:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00118620
Message ID:
00119080
Vues:
23
You could store the default values in an INI file. Read them during the INIT method and assign the values to the properties. During the UNLOAD event you could write the current values back to the INI file.

>>You can add custom properties to a form and assign values to them during design time or run time. Go to the Form menu and select New Property. Your custom properties will be displayed on the Other tab of the form Properties window.
>>
>>>I am performing updates on my code periodicly. To do this I run an update program which does not need to be run again until the next program change. I would like to set a property in a form to on and off depending on wheather the update has been performed. This property would need to stay set after the form & application are closed and re-opened ( thus I don't have to perform checks for update again ).
>>>
>>>Thanks for any suggestions
>>>
>>>Terry
>Sorry. I didn't make myself clear. I have created the property and can load it at runtime but when the program restarts the original value returns. I wish to be able to make "permanent" changes to the property which persist past restarts until they are changed by another runtime action.
Thanks,
Dan Jurden
djurden@outlook.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform