Have struggled with this for years...
How do you programatically move a form to the "top" of the display in VFP9?

Scenario
Main form open, set to "As Top-Level Form"
4 forms open inside of main form, all set to "In Top-Level Form"

Form #1 is a simple list of the other 3 form captions.
The other 3 forms are showing different information.
What I'm trying to do is when you click on one of the form captions in 
Form #1's list, that form should "move" to the front, or top of the 
displayed form stack. (i.e., Zorder) In other words, not be hiding 
behind another form...including the form that contains the list. I would 
prefer, but not insist that the "front most" form have the focus, but I 
can live without that.

The only kludge I've found is to set the form that is wanted as "top of 
display" to "Always on Top" when it is selected from the list on Form 
#1, then when that desired form gets focus, set the "Always on Top" to 
false in the Activate event.

Does VFP 9 (sp2) not provide for a way to control the z-order of the 
displayed forms?

If it's obvious, just hit me in the head with it....this is driving me nuts.

Mike Copeland



_______________________________________________
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