Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Send Hex value to COM property
Message
De
16/03/2004 12:18:49
 
 
À
16/03/2004 12:07:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00886740
Message ID:
00886747
Vues:
11
>I'm working with a COM control on the server side to create a chart for display in the web page. The control is ChartFX from SoftwareFX.
>
>To set some of the properties after instantiating the control, the sample code uses an include file for VB that has constants. I successfully converted all those to #DEFINE statements and they are all working as expected, except for the ones that have some kind of Hex representation.
>
>Does anyone know how to send the following VB constant value into the control from VFP?
>
>Const TGFP_BOTTOM &H202&
>
I beleive you can just drop the last & and it converts to
#DEFINE TGFP_BOTTOM 0x202
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform