Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activex with vb examples
Message
 
À
06/08/2009 10:51:12
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MySQL
Divers
Thread ID:
01416493
Message ID:
01416495
Vues:
69
>Hello Everybody
>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"
>
>?????
>Any help welcomed
>Best regards
>Albert

Just change the include file to be:
#DEFINE Black          0xFF000000
#DEFINE BlanchedAlmond 0xFFFFEBCD
#DEFINE Blue           0xFF0000FF
#DEFINE BlueViolet     0xFF8A2BE2
#DEFINE B_3D           8
In short change &H to 0x (zero x)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform