Defines the size of the left/top margin.
| Get | |||
| VB | Size = object.LeftMargin As Single | ||
| Put | |||
| VB | object.LeftMargin = Size As Single |
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).
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.
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 SubSee Also SftTabsTabs Object | Object Hierarchy