Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NumToRGB()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00185943
Message ID:
00185974
Vues:
20
Thanks.
We are having a heat wave (50 degrees) here in Chicago. Thanks for the lunch idea.
-John
>>How do you get a rgb string ("125,125,125") from a number.
>>ex:
>>myColor = RGB(100,100,0)
>>myRGBString = NumToRGB(mycolor)
>>How do I do this?
>>-John S. Huddleston
>
>Hi John,
>
>Foxtools has a function to convert this value for you. After you set the library, you can use:
>
>= RGBComp(nRGBColor, @nRedVal, @nGreenVal, @nBlueVal)
>
>nRBGColor is the value to convert, the nRedVal, etc. will contain the results, but must be passed by reference.
>
>How are things in Chicago? Man, I could go for an Italian Beef.:-)
>
>hth,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform