In some sense, the Property Window is not treated the same way by VFP / Windows as PEM Editor -- for one thing, it does not appear in _Screen.Forms. I also think it has a private (and invisible) data session. I really can't explain it. In any case, there is some distinction between the two.
And, whatever the difference is, there's nothing I can do about it. When you close a form, nobody has control over where the focus goes.
>>>
>>>3. Unlike the VFP's Property window, opening several methods from PEM Editor then start closing them, the closing is not LIFO!
This is outside of PEM Editor's control. When you close a form, windows returns the focus where it will. I'm absolutely sure that there is nothing that can be done about this.>>>
>If "which window get focus next" is only determined by VFP, why didn't the samething apply on Property Window?
>
>I run a simple test and what I have observed is driving me mad:
>
>I have both Property Window and PEM Editor docked-left, so, from the pulldown menu Window, I have:
>1.PEM Editor - myclass (My.VCX)
>2.Class Designer - My.VCX (myclass)
>
>I then swith to Property window double-click to open method A, switch to PEM Editor double click to open Method B and switch back to Property Window double-click to open Method C, I have:
>1.PEM Editor - myclass (My.VCX)
>2.Class Designer - My.VCX (myclass)
>3.myclass.Mehotd A
>4.myclass.Method B
>5.myclass.Method C
>
>Guess what, closing C bring up B but closing B bring up Class Designer, it seems that as long as a method is opened from Property Window, the LOFC (last opened first close) cycle is applied...
Jim Nelson
Newbury Park, CA