Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Color Scheme?
Message
De
23/05/1997 09:10:52
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
22/05/1997 13:18:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00033294
Message ID:
00033398
Vues:
39
> > I want my program to use the colors that I made at development > time. What setting do I use? I use something like this in FPD: Set Color of Scheme 1 To W/N, N/W, W/N, W/N, W+/N, N/W, N/W, N+/N, GR+/B, R+/B, + Set Color of Scheme 2 To BG/b, W+/B, N/W*, B/W, R/BG*, B/W*, R+/GR*, W/N*, B/W, bg/b, + Set Color of Scheme 3 To W/GR, N/W, BG/N, BG/N, BG/N, N/BG, W+/W, N+/N, BG/N, BG/N, + Set Color of Scheme 4 To W/N*, W+/N*, G+/N*, B/W, R/BG*, GR+/R, W+/N, N+/N, B/W, W/N,+ Set Color of Scheme 5 To W+/gr, W+/BG, W+/gr, W+/RB, W/RB, N/W*, W+/N, N+/N, W+/BG, W/RB, + ....etc. The values were created in window/color dialog, and pasted from what you get by Scheme() function. Now, in VFP you'd use RGBScheme(). Now, the bad news. You don't have a color picker in Fox anymore, you use Windows color picker. You don't know which colors apply to what anymore, except by trial and blow. I knew that in any of 24 color scheme 10th color pair applied to a disabled object, that color schemes 2 and 3 made cursor invisible (they were for menus & popups) etc. Anyway, Windows philosophy says you don't color your book, you sell a coloring book, so user applies colors at will. As the result, all the applications look the same. Gray. Worse, M$ gray. If you really want your own colors (I do that, too - I hate gray), you probably should hard-code them somewhere in your next-to-base classes, and tell your form classes to use those colors as a color source. And... er... color schemes 13 to 15 are read-only, for no well-documented reason.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform