>>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao