BUG: Sheridan Panel Doesn't Correctly Align if Visible is False (150234)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q150234 SYMPTOMS
The Sheridan Panel control does not correctly align to the bottom of a form
after a window is resized if the Visible property of the control is set to
False during the resize of the window.
RESOLUTION
Set the position of the status bar using code. For example, rather than
setting the Visible property of the status bar to True, calculate and set
the position before showing the bar. The following code aligns the bar to
the bottom of a Form before showing it:
SSPanel1.Align = 0
SSPanel1.Top = Form1.Top + Form1.Width - SSPanel1.Width
SSPanel1.Visible = True
SSPanel1.Align = 2
STATUS
Microsoft has confirmed this to be an issue in the Microsoft products
listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbBug KB150234 |
---|
|