Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement