Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the color number to RGB()
Message
De
06/05/1999 19:27:57
Jorge Haro
Independent Consultant
Juarez, Mexique
 
 
À
06/05/1999 19:14:04
Anderson Girardi
Athenas Automação de Escritório
Porto Alegre, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00215903
Message ID:
00215907
Vues:
26
I don't know a function that does it, but you can change the number to binary,
and separate into 3 bytes the first one (leftmost) is the BLUE value, the middle one is the GREEN value and the last one is the RED value, of course changed back to decimal

for example

If you have 65793 as the color value, you change it to binary

Blue Green Red
00000001 00000001 00000001

so this is RGB(1,1,1)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform