Paul, you got it wrong. And you should have noticed it by your own: Intellisense doesn't show a native Addproperty Method inside of _vfp. AddProperty is a regular Function:
ADDPROPERTY(_vfp, "test", 2)
This will work, but as I mentioned before: _VFP a score engine doesn't expect to get messed with, therefor the _VFP intellisense doesn't show that new member, but it stil is accessible.
wOOdy
-----Ursprüngliche Nachricht----- Von: ProFox [mailto:profox-bounces@leafe.com] Im Auftrag von Paul Newton Gesendet: Dienstag, 5. Dezember 2017 09:35 An: profox@leafe.com Betreff: RE: Adding an object to the _VFP.Objects collection
Eric
I think you must be mistaken ... I tried that with _VFP.AddProperty("Test",2) and got an OLE error code 0x80020006 Unknown name
Paul