Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do i convert getcolor() to RGB ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00331708
Message ID:
00331724
Vues:
17
>Hi All:
>
>I Just forgot how to convert Getcolor() returning value to RGB(xxx,xxx,xxx).
>
>I know that is something like xxx^xxx^xxx but i cant remember!
>
>Please Help.
>
>TIA

In addition to what Bret told you, the RGBComp() function in foxtools can do this.
* lncolor is the color to break down
STORE 0 TO lnred, lngreen, lnblue
= RGBComp(lncolor, @lnred, @lngreen, @lnblue)
This assumes that the library has already been loaded.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform