Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting integer color code into HTML color code
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00535531
Message ID:
00535836
Vues:
13
Vlad,

Yes it is see the highlighted text below:

>It is not needed to extract each color. strtran(transform(iColor,'@0'),'0x','#') is enough.
>
>>HTML color codes are stored RGB. In VFP the color code is stored RBG in the integer value returned by GetColor(). The easiest thoing to do is use RGBComp() to decompose the value:
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform