Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Colours Of Objects on forms
Message
De
26/10/2000 08:35:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00434461
Message ID:
00434496
Vues:
17
>I have an application that has multiple forms in it. These forms all have subclasses on them, which are my custom textboxes, edit boxes, combo boxes, etc. What I am trying to do is to have some standard colours for the subclasses, but also have an option in the application where the user can tell the app to use windows colours.
>
>I know there is a property called COLORSOURCE, which can be set to 4 to use the windows colours. How do I enable my application to use windows colours or my preset colours?
>
>Thanks
>
>Daryl


Create an options screen that allows the user to switch between the two. Save the value in the registry or a dbf. In the Init of each form, check this value and set the colorsource.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform