SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
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 Sub
See Also SftTabsTabs Object | Object Hierarchy