Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using VB Constants
Message
 
 
À
20/04/1998 02:39:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00093314
Message ID:
00093345
Vues:
34
John,

The OCX should either have a help file or a .h file with the constants. You could create a VFP format .h file and just include it. In VB if the constant is &H1234 you'd change it to 0x1234 everything else ought to be ok.

Forms and classes have an Include File menu option to allow you to set the file so all methods can see the #define constants.

On my website in the spyin.zip file it has some sample .h files.

>I am working with an OCX that has examples in VB. Within the examples, they rely heavily on Constants for values. I presume that the OCX has a suite of constants built in. the help screen contains a list of constants vs value vs descriptions.
>
>Is it difficult to make use of the constants in VFP and could anyone help get me started?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform