BUG: Pageframe Subclass Invisible Until Clicked
ID: Q185187
|
The information in this article applies to:
-
Microsoft Visual FoxPro for Windows, versions 5.0, 5.0a, 6.0
SYMPTOMS
A PageFrame subclass is not visible, at design and run-time, even if its
PageCount property is set to a value higher than 0.
CAUSE
The problem described in this article occurs if the PageCount property of
the Parent class is set to 0.
RESOLUTION
Do not set the PageCount property of the Parent Class to 0.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a class myPage1 using the following line of code:
CREATE CLASS myPage1 OF myclib AS PAGEFRAME
- When the Class Designer opens, reset the PageCount to the default value.
You can do this by right-clicking on the PageCount property and
selecting the "Reset To Default" option from the shortcut menu.
- Save the class and close the Class Designer.
- Create a class myPage2 with the code below:
CREATE CLASS myPage2 OF myclib AS myPage1 FROM myclib
- When the Class Designer appears, set the Pagecount to three.
- Save the class and close the Class Designer.
- Create a form and place each of the classes, myPage1 and myPage2, onto
the form.
NOTE: Both PageFrames are not visible.
- Run the Form.
NOTE: Both the PageFrames are still not visible.
- Click in the area on the form where the PageFrame SubClass should be
and it becomes visible.
The PageFrame SubClass, myPage2, should be visible at design and run-time.
Additional query words:
vfoxwin kbvfp500 kbvfp500a kbvfp600
Keywords : kbnokeyword
Version : WINDOWS:5.0,5.0a,6.0
Platform : WINDOWS
Issue type : kbbug