Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Screen.backcolor How to Set to Default Form Backcolor
Message
De
12/04/2004 08:56:46
 
 
À
09/04/2004 07:04:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00893415
Message ID:
00894009
Vues:
20
Very cool Glenn,

Thanks!
Tracy

>Sergey has an excellent technique, but with VFP there are always many ways to produce a skinless cat! By using the venerable FP color pairs you can produce a reliable form backcolor as follows:
>EVALUATE('RGB('+substr(rgbscheme(1,2),at(',',rgbscheme(1,2),3)+1))
>
>To see how the windows colors map to the FP RBGSCHEME check my Color Spelunker tool in downloads. Using the rgbscheme techniques you can produce pleasing color combinations consistant with the current windows color settings.
>
>Glenn
>
>Glenn
>
>>I want to set the _Screen.backcolor to the same color the forms all use as their background (when forms use the default backcolor). I want to set it before any forms are opened up. Is there a way to determine what the default backcolor for all forms should be before any forms are opened up so I can grab that color and set the screen backcolor to it?
>>
>>TIA,
>>Tracy
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform