Ok, I think I see what the problem is now.  In order for the second form to
be limited to and show up in your first form, the DO FORM second has to be
issued by the first form in one of its methods, like form1.GotFocus, or
from a command button.  You can't issue the DO FORM in the form1.Init,
.Load, or .Show as the form doesn't really exist yet (LISAG - Load, Init,
Show, Activate, GotFocus).

I just tried it it should work in the .Activate or .GotFocus of the first
form to do a DO FORM second.

Fred


On Wed, Feb 20, 2013 at 9:06 AM, Kurt <[email protected]> wrote:

> Tracy,
>
> Several things.
>         1) I put in that Show Window based upon someone's suggestion. But,
> I
> DID just now take it out.
>         2) You referred to "... base class of your forms". FYI - I'm just
> doing Forms - an SCX - not a Class - like a VCX.
>         3) I think that in your Psuedo code/instructions in your other
> e-mail, that you had the ShowWindow # settings Flip-Flopped! I followed
> your
> instructions - but, switched around the #1 & 2 settings - opposite from
> what
> you wrote - and - Voila! It works! The 2nd Form properly Floats WITHIN the
> 1st Form - as I wanted it - and if you shove it aside - it disappears
> within
> the side of the 1st Form! Excellent indeed. Although, my initial code - I
> thought I pretty much had the same coding already. Will now analyze to see
> what went wrong.
>
> Also, when I now run that WParent() function - it properly displays name of
> the 1st Form Name - from within the 2nd Form!
>
> So - just so you know. What I am attempting to do is make the 2nd Form run
> in an "intelligent" manner. I need the 2nd form to "known" the dimensions
> of
> the Form its running within. Then, I want the 2nd Form to Move towards the
> Bottom of the area within the 1st Form. And, how much it moves will also be
> dependent and what is displayed in the 2nd Form - which must Shrink or Grow
> depending on some variables & Text to be displayed in the 2nd Window. So -
> that's what I am working on next...
>
> Thanks again for ALL YOUR HELP - Much Appreciated!!!
>
> -K-
>
> -----Original Message-----
> From: ProfoxTech [mailto:[email protected]] On Behalf Of Tracy
> Pearson
> Sent: Wednesday, February 20, 2013 10:52 AM
> To: [email protected]
> Subject: RE: The Trouble w/Windows...
>
> Kurt wrote on 2013-02-20:
> >  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-
>
> Kurt,
>
> VFP prior to VFP 9 SP 2 had trouble with being able to change the form
> caption on the fly on child windows. There was also display issues with
> borders not correctly appearing in the Vista/Windows 7 Areo Glass theme.
>
> One of the workarounds to this problem was to have a SHOW WINDOW in the
> INIT
> process.
>
> So, I ask again. Does the base class of your forms have this SHOW WINDOW?
> If
> it does, this could be the root of your problem.
>
>
> Tracy Pearson
> PowerChurch Software
>
>
[excessive quoting removed by server]

_______________________________________________
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/CAJCBksqjEu83KrKrOX6PS-L=efff0pi1rcw9m_qdjmaqomq...@mail.gmail.com
** 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