Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listing properties and methods in Activex Controls
Message
 
 
À
15/06/2000 13:32:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00380460
Message ID:
00380912
Vues:
15
>>AMembers() doesn't work on objects created outside of VFP unless you have already accessed the property.
>
>Hmmm. I did an AMembers(laArray, thisform.ActiveXProgressBar, 1) and it gave me all the properties and methods of the MS ActiveX Progress Bar. Am I thinking of something different?

Very interesting! I would not have thought of that.

What is actually happening is when you add the ActiveX control to the form, you are adding an instance of an OleControl class. The Amembers() is getting the PEMs of the VFP class which contains VFP base PEMs (e.g. AddProperty, Class, ClassLibrary) as well as the PEMs inherited from the ActiveX control.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform