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
Resizes the control (without client area) to its optimal height or width.
VB | object.MakeNaturalSize |
object
The MakeNaturalSize method resizes a tab control without client area to its optimal height (or width for vertically aligned tabs).
If screen real-estate needs to be preserved, this method changes a horizontal tab control's height to its optimal height. A vertically aligned tab control is resized in width.
This method can only be used if the tab control doesn't have a client area (see ClientArea).
The Tabs.ForcedSize property can override the height/width of tab rows, affecting the tab control size.
The NaturalSize property can be used to determine the optimal size without resizing the control.
Private Sub Form_Load() With SftTabs1 .ClientArea = False .MakeNaturalSize End With End Sub
See Also SftTabs Object | Object Hierarchy