SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines whether a Close button is available.
Get | |||
VB | Boolean = object.CloseButton As Boolean | ||
Put | |||
VB | object.CloseButton = Boolean As Boolean |
object
Boolean
Defines whether a Close button is available.
Boolean | Description |
---|---|
True | The Close button is displayed. |
False | The Close button is not available. |
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.
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