PRB: OCX Visible on All Pageframe Pages After Modal Form RunsLast reviewed: February 12, 1996Article ID: Q145892 |
The information in this article applies to:
SYMPTOMSIf a modal form is brought up over a form that contains an OLE Container Control on a page of a pageframe, when the modal form is closed, the OLE Container Control will be visible even when the page that contains it is not active.
WORKAROUNDFor the form that runs atop the form with the OLE Container Control, set the WindowType property to 0 - Modeless. -or- In the Deactivate code for the pages that contain OLE Container Controls, move the OLE Container Control object off the page by setting its Left property to a high value. Move the object back to its proper position in the Activate code of the page.
STATUSMicrosoft is researching this behavior and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce Behavior
Notes
Workaround OneSet the WindowType to 0 - Modeless for any forms brought up over forms that have OLE Container Controls on inactive pages.
Workaround TwoThe following workaround moves the OLE Container Controls that are on inactive pages to a place outside the form boundaries, so modal forms can be used. For the form that holds the pageframe with pages containing OLE Container Control objects, perform these steps:
|
Additional reference words: 3.00 3.00b VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |