Mike,
Well spotted! Senior moment here...DOH

Dave Crozier


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of MB Software Solutions,LLC
Sent: 29 July 2009 16:29
To: ProFox Email List
Subject: Re: Edit one form property from another form

Dave Crozier wrote:
> Jim,
> If you Open the form and retrieve back a form reference you can use this
to
> access the properties:
> 
> Do form MainForm to oMainForm
> 
> Do form Form2 with oMainForm
> 
> 
> In the Form2 you can now use oMainform to manipulate the properties e.g
> oMainform.Caption="Newcaption" etc. etc.
> 
> Dave Crozier


I think Dave meant to say NAME instead of TO.  Of course that assumes a 
Modeless form unless you use the NOSHOW clause.

Do form MainForm NAME oMainForm NOSHOW
Do form Form2 with oMainForm


-- 
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/e86cc980c4214e5cb41a47959803f...@develop
** 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