Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftTabsTabs.RightMargin Property

Defines the size of the right/bottom margin.

Syntax

Get
VBSize = object.RightMargin As Single
Put
VBobject.RightMargin = Size As Single

object

A SftTabsTabs object.

Size

Defines the width of the right/bottom margin between the right side and the last tab. The units used depend on the current coordinate system used (usually TWIPS).

Comments

The RightMargin property defines the size of the right/bottom margin.

The RightMargin and RightMarginPix properties are synonyms, but use different coordinate systems.

Certain tab control styles (see Style) have built-in margins which cannot be removed. The RightMargin 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 LeftMargin property provides the equivalent information for the left/top 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 08/13/2020 - (email)
© 2024 Softel vdm, Inc.