Kurt wrote on 2013-02-20:
> OK - understood re:Show Window command changes - am attempting that right
> now to see if it can work for me. Normally I need to DO a Form. So - do I
> still DO the Form - then run the Show Window command WITHIN the Activate
> method of the 2nd Form that is called?
>
> -K-
>
Kurt,
It's strange that you need to use the Show Window command.
Do you have a SHOW WINDOW statement in the LOAD or INIT of the class the
form is built with?
Modify form toplevel
Change the caption to "Top Level"
Change the ShowWindow = 1
Add a button
In the click of the button add the following line of code:
Do form intoplevel
Modify form intoplevel
Make it smaller than the toplevel form
Change the caption to "In Top Level"
Change the ShowWIndow = 2
Save both forms then in the command window:
Do form toplevel
Click the button, it should work.
If you really need to use the SHOW WINDOW you will need extra steps.
Pass the parent form.name property to the second form.
The second form will receive this in the INIT event.
It doesn't sound like the second form is Modal, so you could
DO FORM SecondForm NAME InTopLevelForm NOSHOW
SHOW WINDOW (InTopLevelForm.Name) IN (THIS.Name)
Tracy Pearson
PowerChurch Software
_______________________________________________
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.