? AddProperty(_VFP, 'test') Thierry Nivelet FoxInCloud Give your VFP app a second life in the cloud http://foxincloud.com/
Le 05/12/2017 à 09:34, Paul Newton a écrit :
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 -----Original Message----- From: ProfoxTech [mailto:[email protected]] On Behalf Of Eric Selje Sent: 04 December 2017 16:51 To: [email protected] Subject: Re: Adding an object to the _VFP.Objects collection You can _VFP.AddProperty, and the property can be an object. Will that work? I use this strategy when implementing FoxTypes <https://github.com/eselje/FoxTypes/>, which keeps the object around even if CLEAR ALL is issued. I don't use _Screen mostly because that doesn't make logical sense to me. Eric On Mon, Dec 4, 2017 at 10:02 AM, Jürgen Wondzinski <[email protected]> wrote:_VFP is the object-reference to his majesty himself. You don't dare to mess with him! :) Or, more technically: _VFP references the core engine, _screen references the visual existance. You can add objects to _screen, and these reflect then as changes in _VFP. The object collection in _VFP is dynamically rebuilt everytime a change happen, thus it wouldn't make any sense to add something at that low level. wOOdy -----Ursprüngliche Nachricht----- Von: ProFox [mailto:[email protected]] Im Auftrag von Paul Newton Gesendet: Montag, 4. Dezember 2017 16:45 An: [email protected] Betreff: Adding an object to the _VFP.Objects collection Hi all I am trying to add a custom object to the _VFP objects collection but without success. Any ideas? Thanks Paul Newton
[excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

