BUG: Transparent Windowless UserControl Cannot Be Dragged (188544)
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 Q188544 SYMPTOMS
You cannot use the mouse to drag a UserControl with BackStyle = Transparent
and Windowless = True in the Visual Basic IDE.
RESOLUTION
To work around this problem, try one of the following three options: - Set the Top and Left properties of the UserControl in the Property
Window.
-or-
- Choose UserControl from the drop-down list in the Properties Window to
select it. Use the keyboard combination of the CTRL and arrow keys to
move the control. (Hold down the CTRL key, and press the arrow key for
the desired direction. Note that the UserControl disappears until the
CTRL key is released.)
-or-
- Position the control programmatically using the Move method.
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: | 5/13/2003 |
---|
Keywords: | kbbug KB188544 |
---|
|