HeaderPane
Main
Hide
Share Link
Print

LeftMargin Property, SftTabsTabs Object

Defines the size of the left/top margin.

Syntax

Get

VBSize = object.LeftMargin As Single

Put

VBobject.LeftMargin = Size As Single

object

A SftTabsTabs object.

Size

Defines the width of the left/top margin between the left side and the first tab. The units used depend on the current coordinate system used (usually TWIPS).

Comments

The LeftMargin property defines the size of the left/top margin.

The LeftMargin and LeftMarginPix properties are synonyms, but use different coordinate systems.

Certain tab control styles (see Style) have built-in margins which cannot be removed. The LeftMargin property does not return the size of the built-in margin. It only returns the additional user-defined margin. The Tabs.RowIndent property can be used to control the indentation of each row.

The RightMargin property provides the equivalent information for the right/bottom margin.

Example

Private Sub Form_Load()
    SftTabs1.Tabs.Rows = 2
    SftTabs1.Tabs.Fixed = True
    SftTabs1.Tabs.LeftMargin = 200
    SftTabs1.Tabs.RightMargin = 200
    SftTabs1.Tabs.RowIndent = 400
End Sub

See Also SftTabsTabs Object | Object Hierarchy


Last Updated 11/19/2026 - (email)
© 2026 Softel vdm, Inc.