Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preferences
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00231573
Message ID:
00231643
Vues:
15
>What is the best way to handle preferences in a VFP program. In other systems I have created a single (database/table) file with one record to included a field (type dependent) on each preference in the program. I would then refer to that PrefTable.PrefField when needed.
>
>I've read through a couple of VFP text books and have yet to find any specific reference to handling this.
>
>Are there better ways to deal with this in VFP???
>
>Thanks in advance,
>Craig

Same here - just call a function with the code of the preference and let it find it and work out the type to return (one of the joys of VFP, returning any type from a function).

I extend it with GLOBAL and LOCAL (or USER) preferences.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform