Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem accessing a known good property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00421330
Message ID:
00421577
Vues:
14
>Andrew,
>
>sometimes it is helpful to put ".Object" between an ActiveX control and its properties, e.g. in your code snippet :
oPort.Object.Speed = 2400
Hope that helps!
>
>Robert

Found it! Above my code I had:

#INCLUDE fred.h

which contained the line:

#define SPEED HalfADeadHalibut

so property:

oPort.Speed

became

oPort.HalfADeadHalibut

which is fishy to say the least.

I'm getting the brain changed next week.

Regards.
---------------------------------------
Magna Carta Software, Inc.
WEB: www.magnacartasoftware.com
Support: support@magnacartasoftware.com
Sales: sales@magnacartasoftware.com
FAX: +1 (972) 377-9074
7000 Independence Pkwy., Ste. 160-227
Plano, TX 75025, USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform