On 9/19/2013 5: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
Just a quick work-around:
for each oForm in _vfp.forms
if oForm.Name = "TheOneIWant" then && there you go
MyValue = oForm.WhateverPropertyYouWant
exit && assuming you got the form you wanted and don't care about
the rest
endif
endfor
--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16
_______________________________________________
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.