That's a new one to me, however I rarely use _Screen.ActiveForm in production. The behavior of ActiveX controls is to be their own window. This is the reason there are ActiveX controls that bleed through PageFrames. Perhaps that is related to what you are seeing.
HTH, Tracy -----Original Message----- From: Allen Sent: Monday, May 04, 2009 4:52 AM Hi Foxgang I have just noticed some weird behaviour. Just starting a project and it is simply a top level form with a pageframe on it. On the pageframe page 2 is an ocx chart from steema. Its on a container and the ocx control name is oleapron. The form is called gslapron. _screen.formcount shows a single form. _screen.forms(1).name shows gslapron as expected. _screen.activeform shows oleapron. Huh!!!!! VFP9 SP1 Al _______________________________________________ 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/000701c9ccbb$4e3beab0$eab3c0...@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.

