Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX Control with Duplicate Event/Method Names
Message
 
 
À
31/01/2002 08:21:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00613286
Message ID:
00613333
Vues:
13
Hi Cheryl,

VFP cannot access both Event and Method if they have the same name. As workaround you can try to write wrapper in VB.

>Greetings! I am working with an ActiveX Control that has both a Method and Event named "Scan". When I drop the control on my form and right-click to get the properties, only one "Scan" shows up. By trial and error, I have discovered it is the Scan Event that shows up. The Scan Method allows me to scan, so I can never get the form to initiate a scan.
>
>I am using VFP6, but I do have access to VFP7. In the Object Browser (VFP7), I can see both the Event and the Method... but I don't know how to access both. I was told by the company that since most development tools can access both the Event and Method even though they have the same name, they aren't concerned that VFP can't.
>
>This has to be a semi-frequent concern... has anyone else encountered it and found a solution? Many, many thanks!
>
>Cheryl Bellucci
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform