Re: SET PROCEDURE and forms

Author: Man-wai Chang

Posted: 2015-06-17 at 05:44:32

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 <fdbozzo@gmail.com> 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!

_______________________________________________

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/CAGv=MJB+KbHMYZ3aSWMj=1enPSDBWgJOm56X_4ewNNVrDd8uFQ@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.

©2015 Man-wai Chang