FIX: Position Error: Outline Control on Classed PageframeID: Q146223 3.00 3.00b WINDOWS kbprg kbbuglist kbfixlist The information in this article applies to:
SYMPTOMSIf an outline control is placed on a page of a pageframe and that pageframe is saved as a class, the class is repositioned during its use in designing a form. The outline control will first appear in its original design location when the form is run. Then if you click an alternate tab of the pageframe followed by clicking the original tab, the outline control jumps to that location on the page in the form.
WORKAROUNDTo correct this behavior in the design of the form, use the following steps, which are based on building a test example as specified in the "Steps to Reproduce Problem" section of this article. 1. Place the following two commands in the form's Activate event:
2. Place the following command in the Init event of the form:
3. Place the following command in the Init event of the pageframe of the
4. Place the following command in the Activate event of the page that
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem has been fixed in Visual FoxPro 5.0 for Windows.
MORE INFORMATION
Steps to Reproduce ProblemUsing the Visual FoxPro interface, create a new class consisting of a pageframe that contains an OLE container control that contains the Outline control on the first page. Place this class in the upper-left corner of a form. Drag the class to the lower-right corner of the form. Run the form and observe the position of the outline control. Here are the steps: 1. On the File menu, click New, select Class, and click the New Class 2. In the Class Designer, right-click the pageframe, and select Edit.
3. From the Forms Control toolbar, select the OLE Container Control tool, 4. In the Insert Object dialog box, click Insert Control. Then from the
5. In the Command window, type:
6. On the Forms Controls toolbar, click the View Classes button. Click
7. From the Forms Controls toolbar, click the Outltest class tool, and
8. Click the exclamation mark tool on the Visual FoxPro toolbar to Run the
KBCategory: kbprg kbbuglist kbfixlist
KBSubcategory: FxprgClassoop VFoxWin buglist3.00 buglist3.00b fixlist5.00
Additional reference words: 3.00 3.00b jump misplace
|
Last Reviewed: February 23, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |