Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event and Method with same name??
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00304299
Message ID:
00304367
Views:
29
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform