Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsScrolling.CloseButtonAlignment Property

Defines the Close button, the Minimize button and the Restore button alignment.

Syntax

Get
VBType = object.CloseButtonAlignment As SftTabsButtonAlignConstants
Put
VBobject.CloseButtonAlignment = Type As SftTabsButtonAlignConstants

object

A SftTabsScrolling object.

Type

Defines the Close button alignment.

NameValueDescription
alignButtonSftTabsNear0The Close button, the Minimize button and the Restore button appear near the tab control's visible border (touching the border of the tab page).
alignButtonSftTabsCenter1The Close button, the Minimize button and the Restore button appear centered within the tab control's visible border and the outside edge of the tab control window.
alignButtonSftTabsFar2The Close button, the Minimize button and the Restore button appear aligned with the outside edge of the tab control window.

Comments

The CloseButtonAlignment property defines the Close button, the Minimize button and the Restore button alignment.

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.