Defines the size of the right/bottom margin.
| Get | |||
| VB | Size = object.RightMargin As Single | ||
| Put | |||
| VB | object.RightMargin = Size As Single |
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).
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.
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