RE: The Trouble w/Windows...

Author: Kurt

Posted: 2013-02-20 at 09:40:27

Hey Tracy - thanks for this extensive reply. Do I have to use "Show Window"

- well, I was just doing it to try and follow the suggestion by Fred - which

I didn't originally use. At this point, I've been open to trying anything -

just to try and get things to work. I'm hoping to push thru these problems

ASAP - since, its currently stopping me from making Major Progress in doing

this whole System Conversion Utility that I have been working on...

-K-

-----Original Message-----

From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Tracy

Pearson

Sent: Wednesday, February 20, 2013 10:36 AM

To: profoxtech@leafe.com

Subject: RE: The Trouble w/Windows...

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

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

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/CE3551A0FF394F579751912030D0FDEC@Programming2

** 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.

©2013 Kurt