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:
00535662
Vues:
21
>Hi!
>
>It is not needed to extract each color. strtran(transform(iColor,'@0'),'0x','#') is enough.
>

There are different ways to do it (Got another answer somewhere in another thread), but it cannot be done in the way you suggested, due to the fact that the color value from GetColor() is in the "format" of BGR and not RGB. So you will have to swap Red part and Blue part.
- Erik Niese-Petersen

Crazy Dane in USA.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform