Jack,

Add a property to your base form class called something like "CallingForm" and set it to NULL as default. Then, in the called base form class' Load, add code like this:

THIS.CallingForm = _Screen.Activeform

Then you can always refer to the previous form using

This.CallingForm

So you can:

This.CallingForm.Top = 5

This is off the top of my head but should at least get you going.

Frank.

Frank Cazabon

On 19/09/2013 05:08 PM, Jack Skelley wrote:
Good Afternoon All
I have done this before and can't get it to work now.
I have a modeless form as a top level form and run the next form. Now I want to 
get data from the top level form on the now modal form and it tells me that the 
modeless form name is not an object.
On the modal form:
lnForm_top = frmModeless.top
and it says that frmModeless is not an object.
But wexist('frmModeless') returns true...
What am I doing wrong? I have checked other instances of this in other systems 
and it works perfectly. I just can't see any differences...
Thnaks!
Jack

Jack Skelley
Senior Director, Programming/Computer Operations
New Jersey Devils
(973)757-6164
[email protected]

[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/[email protected]
** 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