Article ID: 171598
Article Last Modified on 7/16/2004
APPLIES TO
- Microsoft Visual Basic 5.0 Control Creation Edition
- Microsoft Visual Basic 5.0 Learning Edition
- Microsoft Visual Basic 5.0 Professional Edition
- Microsoft Visual Basic 5.0 Enterprise Edition
- Microsoft Visual Basic 4.0 Standard Edition
- Microsoft Visual Basic 4.0 Professional Edition
- Microsoft Visual Basic 4.0 32-Bit Enterprise Edition
This article was previously published under Q171598
SYMPTOMS
If a Tabstrip control resides on a form with other controls, the Properties dialog for the Tabstrip may inadvertently appear at run-time.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem has been corrected with the version of COMCTL32.OCX that ships with Microsoft Visual Basic 5.0.
MORE INFORMATION
Properties dialogs for controls should be available only at design time. However, if you use the Click event of the Tabstrip control to set the focus to another control on the form and then double-click the work area of the Tabstrip, the Property dialog for the TabStrip will appear.
Steps to Reproduce Behavior
- Start a new project.
- Add a Tabstrip control to Form1.
- Add a TextBox control to Form1.
In the Click event of Tabstrip1 add the following code.
Text1.setfocus.
- Press the F5 key to run the program.
- Click once on the tab of TabStrip1.
- Double-click on the work area of TabSrip1.
The Properties dialog appears as if you are in design mode.
Additional query words: tab strip comctl32.ocx
Keywords: kbbug kbfix kb32bitonly KB171598