On 9/19/2013 6:25 PM, Jack Skelley wrote:
Good Evening Mike:
Thanks for the help but when I run this:
for each oForm in _vfp.forms
IF LOWER(oForm.Name) = "frmcoach" then
frmCoach.top = 5
EXIT
ENDIF
endfor
When the frmCoach.top was evaluated it returned frmCoach is not an object but
when I changed it to oForms.top = 5 it did execute and move the form.
In my other systems I say
Public frmCoach
then issue frmCoach.top = 5 from another form with no issues. I can't figure
what is wrong or what could be different.
Best regards,
Jack
Hi Jack,
You'd have to use the oForm reference variable, not frmCoach.
hth,
--Mike
--
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.