Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activex with vb examples
Message
 
 
To
06/08/2009 10:51:12
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01416493
Message ID:
01416494
Views:
79
Replace '&H' with '0x' to make it valid VFP hexadecimal literal
#DEFINE Black 0xFF00000     && &HFF0000000
...
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform