Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsScrolling.CloseButtonFullSize Property

Defines whether the Close button, the Minimize button and the Restore button are as large as a tab.

Syntax

Get
VBBoolean = object.CloseButtonFullSize As Boolean
Put
VBobject.CloseButtonFullSize = Boolean As Boolean

object

A SftTabsScrolling object.

Boolean

Defines whether the Close button is as large as a tab.

BooleanDescription
TrueThe Close button, the Minimize button and the Restore button are as large as a tab (in height for a horizontal tab control or in width for a vertical tab control).
FalseThe Close button, the Minimize button and the Restore button are sized to fit the pictures defined using the Scrolling.Picture2 property.

Comments

The CloseButtonFullSize property defines whether the Close button, the Minimize button and the Restore button are as large as a tab.

The height (or width) of the tabs determines the height (or width) of the Close button, the Minimize button and the Restore button. If CloseButtonFullSize is set to True, the Close button, the Minimize button and the Restore button are made as large as possible.

Certain tab styles have varying tab sizes for active tabs (e.g., the tab style styleSftTabsModernTop). The size of the non-active tabs determines the button size.

The Scrolling.CloseButton property defines whether a Close button is available.

Example

SftTabs1.Style = styleSftTabsModern2Top
SftTabs1.Tabs.Rows = 1
SftTabs1.Scrolling.CloseButton = True
SftTabs1.Scrolling.CloseButtonAuto = True
SftTabs1.Scrolling.CloseButtonAlignment = alignButtonSftTabsCenter
SftTabs1.Scrolling.CloseButtonEnabled = True
SftTabs1.Scrolling.CloseButtonFullSize = True

See Also SftTabsScrolling Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.