Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Color codes
Message
De
27/03/2020 15:22:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01673838
Message ID:
01673853
Vues:
71
J'aime (3)
>getColor() functions returns a number indicating the selected color.... Is there a way to convert this number in a Rgb() format ?
>I have to show some data in a html page and each wro ina list must have a specific color stored in a table, but in this table the color is a single number that in html is not recognized.

Another one-liner for your bag, Michele (same RGB() as Martina's):
? LEFT(STRCONV(BINTOC(RGB(255,1,2), "4R"), 15), 6)
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform