Hi all

I have a form which sometimes needs to be displayed as a top-level form 
and at other times in-screen (this depends on whether my EXE which 
contains the form is called as a stand-alone EXE or from within another 
VFP APP/EXE)

At the moment I am storing two identical (well identical except for the 
ShowWindow property) copies of the form (form_toplevel and 
form_inscreen) in the project and compiling the EXE with both forms.  
The "main" program in the EXE decides which of the two form needs to be 
called.

I wondered if there is a better way of dealing with this - I thought 
maybe I could save (one of the) forms as a class and then create either 
a toplevel or inscreen version as required - but I cannot see how to do 
this or even if it is possible (I suspect not)

Thanks

Paul Newton



_______________________________________________
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/[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