General information
Category:
Third party products
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?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only