BUG: Duplicate Control Boxes on MDI Form (233199)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q233199 SYMPTOMS
If you have user controls on MDI child forms, the MDI form will sometimes display duplicate control boxes when you close it. This problem only occurs when the focus is on the user control when the child form is closed.
RESOLUTION
There are two ways to work around this problem:
- Mark the user control's focus property as False so that it does not receive focus.
- Add at least one control that is not a user control on your child form. Set the focus to this control right before the child form is closed.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbBug kbCtrl kbpending KB233199 |
---|
|