Replace '&H' with '0x' to make it valid VFP hexadecimal literal
#DEFINE Black 0xFF00000
...
>I'm using an activex freeware tool to show some complex charts with VFP 9.2
>All examples are in Visual Basic.
>Everything works but:
>The examples use predefined constants.
>.backcolor = Blue
>.type = B_3D
>
>There is an include.h file with all definitions.
>#DEFINE Black &HFF000000
>#DEFINE BlanchedAlmond &HFFFFEBCD
>#DEFINE Blue &HFF0000FF
>#DEFINE BlueViolet &HFF8A2BE2
>#DEFINE B_3D 8
>
>.type = B_3D works with foxpro but i run into errors when coding:
>.backcolor = Blue in foxpro
>Luckily i found that .backcolor = rgb(0,0,255) works with the tool and with foxpro.
>But there is one thing i couldn't solve.
>
>In one situation i have to do an
>.color = Transparent before i can do some other things.
>The include file shows
>#DEFINE Transparent "FFFFFFFE"
>
--sb--