BUG:Sheridan Panel Doesn't Correctly Align if Visible is FalseLast reviewed: October 17, 1996Article ID: Q150234 |
The information in this article applies to:
SYMPTOMSThe 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.
STATUSMicrosoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. Microsoft is researching this issue and will post new information here in the Microsoft Knowledge Base as it becomes available.
WORKAROUNDSet 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 MORE INFORMATION
Steps to Reproduce Problem
To work around the problem, place the code in the WORKAROUND Section above in the Click event of the Command2 button.
|
Additional reference words: 4.00 vb4win vb4all
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |