Information générale
Catégorie:
Produits tierce partie
Hello Michael!
I don't understand what you need, but Is it what you need?
LOCAL mcolor
*Fox color is BBGGRR, HTML is RRGGBB
m.mcolor = SUBSTR(TRANSFORM(thisform.backcolor,"@0"),5)
m.mcolor = SUBSTR(m.mcolor,5,2) + SUBSTR(m.mcolor,3,2) + LEFT(m.mcolor,2)
\>>
(cut from FOXISAPI example shipped with VFP)
BB
>One of my control used in a Web browser is having some color parameters. However, as oppose to standard HTML where we can specify CCCCCC as a color, for example, we need to specify something like -2147483643. Can someone tell what is the formula to convert something like that to its number equivalent?
>
>We have something like that in Visual FoxPro I believe for some properties. Is this the same that applies here?
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