Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing grid class highlight color
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01220104
Message ID:
01220187
Vues:
23
>>>>With my grid class I want the user to be able to select the highlight color. I plan on implementing a right click menu to launch the color picker. To store this color I thought about using the registry so I could easily store colors for each grid if so desired and also so I don't have to depend on a table.
>>>>Is this a solid design idea?
>>>
>>>In multi-user enviroment it makes sense to keep it for each user separately, i.e. you have a table 'usersettings', or one setting for everyone in table 'systemsettings', and you provide interface to fill these entries.
>>
>>I planned on using hkey_current_user. This would allow me to retrofit a load of apps without creating tables for them all.
>
>The added benefit of using a table is that the users' settings stay with them regardless of what PC they are using.

That's a good point. I guess my main worry is how I will coordinate the grid class with the usersettings table across multiple apps. I'm not using a framework and there needs to be a standard way to create and maintain this new table.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform