FIX: Controls Saved as Class from PageFrame Becomes Invisible

ID: Q146640

3.00 3.00b WINDOWS kbprg kbbuglist kbfixlist

The information in this article applies to:

  • Microsoft Visual FoxPro for Windows, versions 3.0 and 3.0b

SYMPTOMS

Visual FoxPro controls saved as a class from the top of a PageFrame's page appear to be missing from the class when it is modified with the Class Designer. The problem is that the controls in the class are not viewable due to the fact that the Top Property is Negative; sometimes the Left property is also Negative.

WORKAROUND

Open the Class, go to the properties sheet, and select the control from the Object list. Set the Top and Left properties to a positive number (such as 5) to move the controls down to the viewable area of the Class Designer.

STATUS

Microsoft 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 Problem

1. Create a new form, and place a PageFrame on the form.

2. Edit the PageFrame, and add a label and text box to the top of page1.

3. Save and run the form.

4. Edit the form, and select the PageFrame. Right-click the PageFrame, and

   select Edit to edit the PageFrame.

5. Select the two controls. On the File menu, click Save as Class. Name the
   class, and save it to a Visual Class library.

6. Edit the class using the Class Designer. Note that the controls are not
   visible.

7. Go to the Properties, and find the Controls. Notice that the Top
   property is set to a negative number. The Left property may also be
   negative.

KBCategory: kbprg kbbuglist kbfixlist KBSubcategory: FxprgClassoop VFoxWin buglist3.00 buglist3.00b fixlist5.00 Additional reference words: 3.00 3.00b
Keywords          : kbVFp kbVFp300bbug kbVFp500fix buglist3.00 FxprgClassoop kbbuglist kbfixlist
Version           : 3.00 3.00b
Platform          : WINDOWS


Last Reviewed: February 23, 1997
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.