BUG: Form Cannot Override Parent Class AutoCenter Setting (191998)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q191998 SYMPTOMS
Changing the AutoCenter property of a form based on a parent class, will
not override the AutoCenter setting of the form's parent class.
RESOLUTION
Use the ResetToDefault method to set the Top and Left property in the Init
method of the subclassed form, when the AutoCenter property of the Parent
class is set to .F..
For instance, put the following code in the INIT event of the form:
This.ResetToDefault("Top")
This.ResetToDefault("Left")
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. We are researching this bug and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
Modification Type: | Major | Last Reviewed: | 8/13/1999 |
---|
Keywords: | kbbug KB191998 |
---|
|