RE: The Trouble w/Windows...

Author: Kurt

Posted: 2013-02-20 at 10:06:23

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:profoxtech-bounces@leafe.com] On Behalf Of Tracy

Pearson

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

To: profoxtech@leafe.com

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: 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/26DD9797B001491F9AFBB47984116CC0@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