RE: Return value from form in class

Author: Richard Kaye

Posted: 2013-05-30 at 09:33:24

The latter being what Ken illustrated, of course.

--

rk

-----Original Message-----

From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Richard Kaye

Sent: Thursday, May 30, 2013 10:28 AM

To: profoxtech@leafe.com

Subject: RE: Return value from form in class

One way to do it would be to declare your lcReturnMsg variable as private before creating your form object and then directly set that variable in the unload of the form. Another way would be to pass a reference to the calling form object (implied in your question but not shown) to your called form. You would want to have a mechanism for passing object references between your forms/classes. This assumes the thing you want to manipulate is a property of the original form.

--

rk

-----Original Message-----

From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Kent Belan

Sent: Thursday, May 30, 2013 10:04 AM

To: profoxtech@leafe.com

Subject: Return value from form in class

Hello,

I am trying to build a form in a class. Everything is working ok, but now I want to return a value from the form.

How do I get the return value passed back to the calling form ?

_______________________________________________

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/DF1EEF11E586A64FB54A97F22A8BD044227EB92237@ACKBWDDQH1.artfact.local

** 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.

©2013 Richard Kaye