BUG: TabStrip Control Incorrectly Displays TABs on Form_LoadLast reviewed: May 20, 1996Article ID: Q145567 |
The information in this article applies to:
SUMMARYA Visual Basic program with a TabStrip control does not correctly display the TAB during run-time if the TAB height is set in the Form_Load procedure of the form. The TAB is correctly displayed if the TAB height is set in any other procedure except Form_Load.
STATUSMicrosoft has confirmed this to be an issue in the Microsoft products listed at the beginning of this article. This problem has been corrected in the Microsoft Visual Basic version 4.0a for Windows synchronization release.
WORKAROUNDTo work around this issue, show and refresh the TabStrip control in the Form_Load event before setting the TAB height.
MORE INFORMATIONThe following creates an example to reproduce this behavior. A Picture control is moved to the TAB area of the TabStrip control during the Form_Load procedure. The same code in the Form_Load procedure is also in the Form_Click procedure. When you run this example, the TAB does not appear. Click the Form and the TAB appears.
Steps to Reproduce Behavior
|
KBCategory: kbprg kbbuglist kbfixlist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |