How to Reset the Parent of a Visual Basic Control (80189)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q80189 SUMMARY
Visual Basic version 1.0 does not support overlapping controls. This can
be a problem if you want to drag and drop a control from one parent control
to another parent control. Using the Windows API SetParent() function call,
you can change a control's parent within Visual Basic.
Visual Basic versions 2.0 and 3.0 support overlapping controls with the
z-order method. For more information on the z-order method, search for
the z-order topic in the Visual Basic Help menu.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | KB80189 |
---|
|