Do you possibly have a CLEAR ALL in your class definition? 

________________________________________
From: ProfoxTech <[email protected]> on behalf of Man-wai Chang 
<[email protected]>
Sent: Wednesday, June 17, 2015 6:44 AM
To: [email protected]
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: [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/blupr10mb04510496faa658ecb2ab0151d2...@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.

Reply via email to