Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Color Scheme
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00016863
Message ID:
00016952
Vues:
40
>>>>I am trying to make my forms and controls conform to the Windows Color Scheme, but certain visual objects don't have a ColorScheme property. The VFP documentation suggests the best way to set the color schemes for objects is directly throught their BackColor and ForeColor properties. How can I make every object conform to the Windows color settings?
>>>
>>>which visual objects are you having problems with?
>>
>>Namely most visual container objects such as Forms, Pageframes, and Containers. These don't seem to naturally inherit the Windows color settings.
>
>i haven't had this problem w/ forms -- they show up the best. containers should have a transparent background as a general rule. i keep pageframes background gray because that's the way i see it in most windows apps.

You must be using version 3 because 5 automatically inherits these properties. but in the mean time before you get version 5 try this...
=EVALUATE("RGB(" + SUBSTR(RGBSCHEME(15,1), AT(",", RGBSCHEME(15,1), 3) + 1))
Changing the number *1* in this expression will give you different properties of certain windows objects, but I seem to have lost my breakdown of the number representations.

HTH
Jon
Jon Paskett

Microsoft Certified Systems Engineer
We all have to start somewhere...
Sometimes over again!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform