Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsScrolling.CloseButton Property

Defines whether a Close button is available.

Syntax

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

object

A SftTabsScrolling object.

Boolean

Defines whether a Close button is available.

BooleanDescription
TrueThe Close button is displayed.
FalseThe Close button is not available.

Comments

The CloseButton property defines whether a Close button is available.

A tab control with a single row of tabs (Tabs.Rows) offers an optional "Close" button. The Close button can be used instead of a form's Close button.

The Close button does not require the presence of scroll buttons.

Scrolling.CloseButtonAlignment defines the Close button, the Minimize button and the Restore button alignment.

The Scrolling.CloseButtonAuto property defines whether the Close button automatically closes the form or a Closing event is generated.

The Scrolling.CloseButtonEnabled property defines whether the Close button is enabled.

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

The Scrolling.ToolTipCloseButton property can be used to define the Close button ToolTip.

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.