Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help Please on Color Schemes in VFP for older .sprs
Message
De
06/06/2003 14:56:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Help Please on Color Schemes in VFP for older .sprs
Divers
Thread ID:
00797416
Message ID:
00797416
Vues:
221
We have some older screens that are displayed in VFP7 and VFP8 that have not been converted yet. We run the .sprs in VFP fine functionally. However, we allow the users to change the screen colors to special color sets which has not be a problem. Now we would like to add a color set for the users to choose that emulates the windows standard desktop colors so it blends in with the newer VFP forms that the app also runs. .SPR Colors are being set in our app using :
set color of scheme  1 to W+/BG,N/W,B+/BG,BG/B,B+/BG,GR+/B,GR+/B,N+/N,GR+/BG,N+/BG,+
set color of scheme  2 to W/BG,W+/BG,W+/B,BG/B,W/N,BG+/B,W+/W,N+/N,B/W,W/N,+
set color of scheme  3 to BG/W,N/W,BG/N,BG/N,BG/N,N/BG,W+/W,N+/N,BG/N,BG/N,-
set color of scheme  4 to BG/W,N/W,N/W,B/W,W/N,N/BG,W+/W,N+/N,B/W,W/N,+
set color of scheme  5 to W+/RB,W+/BG,W+/RB,W+/RB,W/RB,W+/B,GR+/RB,N+/N,W+/RB,W/RB,+
set color of scheme  6 to W/BG,W+/BG,W+/RB,W+/RB,W/RB,W+/B,GR+/RB,N+/N,W+/RB,W/RB,+
set color of scheme  7 to GR+/R,W+/W,GR+/R,W+/R,W/R,W+/N,GR+/R,N+/N,W+/R,W/R,+
set color of scheme  8 to W+/W,W+/BG,W+/W,B/W,N+/W,W+/GR,BG+/BG,N+/N,B/BG,W/BG,+
set color of scheme  9 to W/BG,W+/BG,B/BG,GR+/W,N+/W,W+/GR,W+/B,N+/N,GR+/W,N+/W,+
set color of scheme 10 to W+/BG,GR+/B,W/W,GR+/W,N+/W,GR+/GR,W+/B,N+/N,GR+/W,N+/W,-
set color of scheme 11 to W+/BG,W+/W,GR+/W,GR+/W,N+/W,W+/GR,W/B,N+/N,W+/B,W/BG,+
set color of scheme 12 to GR+/R,W+/W,GR+/R,W+/R,W/R,W+/N,GR+/R,N+/N,W+/R,W/R,+
set color of scheme 16 to W+/B,W+/BG,GR+/B,GR+/B,R+/B,W+/GR,GR+/RB,N+/N,GR+/B,R+/B,+
set color of scheme 17 to B/BG,W+/BG,GR+/B,GR+/B,R+/B,W+/GR,GR+/RB,N+/N,GR+/B,R+/B,+
set color of scheme 18 to W+/B,W+/BG,GR+/B,GR+/B,R+/B,W+/GR,GR+/RB,N+/N,GR+/B,R+/B,+
set color of scheme 19 to W+/B,W+/BG,GR+/B,GR+/B,R+/B,W+/GR,GR+/RB,N+/N,GR+/B,R+/B,+
set color of scheme 20 to W+/B,W+/BG,GR+/B,GR+/B,R+/B,W+/GR,GR+/RB,N+/N,GR+/B,R+/B,+
set color of scheme 21 to W+/B,W+/BG,GR+/B,GR+/B,R+/B,W+/GR,GR+/RB,N+/N,GR+/B,R+/B,+
set color of scheme 22 to W+/B,W+/BG,GR+/B,GR+/B,R+/B,W+/GR,GR+/RB,N+/N,GR+/B,R+/B,+
set color of scheme 23 to W+/B,W+/BG,GR+/B,GR+/B,R+/B,W+/GR,GR+/RB,N+/N,GR+/B,R+/B,+
set color of scheme 24 to W+/B,W+/BG,GR+/B,GR+/B,R+/B,W+/GR,GR+/RB,N+/N,GR+/B,R+/B,+
create color set SEAGREEN
We would like to create a schema using this method that matches the windows standard desktop colors.

Has anyone already done this?

Also, can this function be done using RGB()?
.·*´¨)
.·`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"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform