BUG: Control Repaint Problems When ClipControls Set to False (194908)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Control Creation Edition for Windows 5.0
This article was previously published under Q194908 SYMPTOMS
Clicking on an application's icon on the operating system's taskbar causes
some controls to disappear.
CAUSE
This problem occurs when a modal form is displayed while a second form in
this application is visible in the background and the background form
consists of all of the following:
- Its "ClipControls" property is set to "False."
- The controls not displaying correctly are child controls of another
control rather than placed directly on the form (such as option buttons
within a Frame control).
This problem will occur with any type of control as long as the conditions
above are met.
RESOLUTION
There are two potential workarounds for this issue:
- Avoid setting ClipControls to False when a second modal form will be
displayed.
- Leave the ClipControls property set to False but only display non-modal
forms.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbBug kbCtrl kbpending KB194908 |
---|
|