ACC95: Image Extends Below Tab of TabStrip ControlID: Q156227
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you add an image to a TabStrip Control and then set the TabWidthStyle
property of the TabStrip Control to Fixed, the image may extend below the
tab.
If the TabWidthStyle property is set to Fixed, or if you change the TabWidthStyle property to Fixed after adding the image, and the TabFixedHeight and TabFixedWidth properties are set to a size smaller than the image, the image will not shrink. Instead it will extend below the tab.
Increase the size of the TabFixedHeight and TabFixedWidth properties.
When you add an image to the TabStrip control, if the TabWidthStyle property is set to Justified (default), it will adjust the size of the tab to fit the image. This behavior occurs only if the TabWidthStyle property is set to Fixed.
Custom Control:
Width: 2"
Height: 1"
TabFixedWidth: 400
TabWidthStyle: 2 - Fixed
TabFixedHeight: 300
For more information about the TabStrip OLE Control, search for "TabStrip
Control" using the Microsoft Access for Windows 95 Help Index.
For more information about the ImageList OLE Control, search for "ImageList
Control" using the Microsoft Access for Windows 95 Help Index.
Keywords : kbinterop
Version : 7.0
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: May 3, 1999