Author: Richard Kaye
Posted: 2015-06-17 at 06:58:45
Do you possibly have a CLEAR ALL in your class definition?
________________________________________
From: ProfoxTech <profoxtech-bounces@leafe.com> on behalf of Man-wai Chang <changmw@gmail.com>
Sent: Wednesday, June 17, 2015 6:44 AM
To: profoxtech@leafe.com
Subject: Re: SET PROCEDURE and forms
I defined a class programmatically in MyClass.prg.
I SET PROCEDURE TO it in Main.prg.
I created a form, and in form.Init() I tried to
CREATEOBJECT("MyClass"), and that failed.
Once I SET PROCEDURE again in form.Init(), it worked.
Puzzling....
SET PROCEDURE TO doesn't work with programmatic class definition?
_______________________________________________
Post Messages to: ProFox@leafe.com
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/BLUPR10MB04510496FAA658ECB2AB0151D2A60@BLUPR10MB0451.namprd10.prod.outlook.com
** 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.