DOC: TabStrip Separators Do Not Work with tabButtons Style
ID: Q192210
|
The information in this article applies to:
-
Microsoft Visual Basic Learning, Professional, and Enterprise Editions for Windows, version 6.0
SUMMARY
The Help file for the Separators property of the TabStrip control states
that if the property is set to True, then separators will be drawn between
buttons. Specifically, that they will be drawn on the TabStrip with the
tabButton style or the tabFlatButton style. This is a documentation error.
The Separators should only show with the Style property set to
tabFlatButton.
MORE INFORMATIONSteps to Reproduce Behavior
- Create a new Standard EXE project. Form1 is created by default.
- Select Components from the Projects menu, and check "Microsoft Windows
Common Controls 6.0."
- Add a TabStrip control (TabStrip1) to Form1.
- Right-click on TabStrip1, and select Properties from the pop-up menu.
- Add two additional tabs to TabStrip1, bringing the total to 3 tabs.
Close the custom properties dialog box.
- In the property browser, change the Style property to tabButtons (1) and
the Separators property to True.
- Run the Project. Note that there are no visible separators between the
buttons. This is by design. The separators should only be visible for
the tabFlatButtons style.
- In order to see the separators, return to design mode and change the
Style property to tabFlatButtons.
- Run the Project again. Note there are now separators between the
buttons.
Additional query words:
kbDSupport kbDSD kbVBp kbVBp600 kbdocfix
Keywords : kbGrpVB
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type :
|