Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbars forget
Message
De
16/10/1998 13:49:41
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00146095
Message ID:
00147604
Vues:
38
The problem with using the registry, IMHO, is that it is machine dependent, rather than user dependent. If a user changes machines that info is lost. Like Mr. Booth, I also use a DBF. This allows me to store other User definable parameters, such as: Toolbars on Form, or Free? Warn before Cascading Deletes? Warn Before Cancel? ToolTips and Status Bar On/Off? Show Required Fields in a different Color? ByPass the City and State, having the ZipCode determine that... You could do all that in the registry, but setting it back up for a temporary sessiuon would barely be worth it.

jt

>You can use the registry.prg that came with VFP5, or the registry classes that come with VFP6. My form class create/read/write keys like HKEY_CURRENT_USER\Software\DFSD\CEPASTATUS\frmLastStops.Bform\Height etc. I know the registry is thought of as something to be feared, but it really is quite useable to store little things like this. Keeping the data in the registry makes it local to each user's machine something which is a little harder to do in a networked app with tables or mem files.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform