Hi, I think I have a little clue looking at your example: You have used *SET PROCEDURE TO it in Main.prg* in your example, if you do the same for other procedure files without using *ADDITIVE*, then every new procedure file will be closing your last procedure file. Dave Crozier have suggested you using ADDITIVE at firts.
But in this case you should detect this "closing" situation using the debugger as Kevin Kully suggested. Regards.- 2015-06-17 12:44 GMT+02:00 Man-wai Chang <[email protected]>: > 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? > > On Tue, Jun 16, 2015 at 7:50 PM, Fernando D. Bozzo <[email protected]> > wrote: > > SET PROCEDURE is not dependent of data session. > > > > I don't really understand your problem, can you expand on the details? > How > > you call, where you call, etc. > > -- > .~. Might, Courage, Vision. SINCERITY! > / v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3) > /( _ )\ http://sites.google.com/site/changmw > ^ ^ May the Force and farces be with you! > [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/cagq_junz5fcuuqnlw8uejwrlebdds6mp-nfegi4rty5_qln...@mail.gmail.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.

