FIX: Controls on Sheridan Tab Adopt Large Negative Left Value (152692)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
This article was previously published under Q152692 SYMPTOMS
If a control is placed on a Sheridan tab control, and if focus is set to a
different tab, and then the control is set to a different position, the
result may be that the control takes on a large negative Left value after
focus again switches to a different tab. Setting the Left property back to
a reasonable positive value may cause two instances of the control to
appear on different tabs of the control.
RESOLUTION
The only workaround is to design one tab at a time. Before moving to design
a different tab, the controls on the original tab should be placed at their
final location.
If the problem described above does occur, the only option is to reset the
Left property of the controls in the Visual Basic Properties window to
reasonable positive values, and then delete any unwanted instances of the
control that were created on other tabs.
When the controls have been placed at a desirable position, it is worth
keeping a backup of the Form file on which the tab is placed. That way if
the problem of large negative values in the Left property does occur, the
original Top and Left properties can be restored by reading the backup Form
file.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Basic
5.0.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | kbBug kbCtrl kbVBp500fix KB152692 |
---|
|