Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intellisense - Constant
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00562303
Message ID:
00562425
Vues:
16
>>Hi,
>> How to use ActiveX control constant in application? For example:
>>
>>myobj = CREATEOBJ("InetCtls.Inet.1")
>>myobj.Protocol = icFTP
>>
>>VFP return error variable icFTP is not found!
>>How could I make use of constant instead of knowing the actual value of the constant?
>>
>>Thank you
>
>To help along the lines that Sergey showed you, with VFP 7 you can open the type library for the OCX (if it exists) using the Object Browser and drag the constants into your include file/program/form. The #DEFINEs will automatically be created for you.

Nice tip!
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform