Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listing properties and methods in Activex Controls
Message
 
 
To
15/06/2000 13:32:44
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00380460
Message ID:
00380912
Views:
16
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform