Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Event and Method with same name??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00304299
Message ID:
00304367
Vues:
28
>>Hello. I have an ActiveX control(Winsock control 6.0 from MS) that has both an event and a method by the same name('connect'). This control works great in VB, as VB distinguishes between methods and events(using '.' or '_' to seperate the object from the event/method). Is there any way I can make use of this Winsock control for a client application in VFP? Thanks.

>Have you tried .Connect() for the method, vs. .Connect for the property?

I tried calling "thisform.olecontrol1.connect()" from a command button, and it just fires off the event(not a property). If it was a Method and Property of the same name, I think I'd have a chance.. :(
Derek J. Kalweit
Software Engineer
Microworks POS Solutions, Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform