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
Vertically resizes the tree control so visible items are displayed in their entirety.
Deprecated - Provided for compatibility with earlier versions only - Use MakeIntegralHeight instead
VB.NET | object.IntegralHeight(ByVal Height As Single) |
VB | object.IntegralHeight(ByVal Height As Single) |
C#.NET | void object.IntegralHeight(float Height); |
VC++ | HRESULT object->IntegralHeight(float Height); |
C | HRESULT object->raw_IntegralHeight(float Height); |
object
Height
The height to be used for integral height calculation. If 0 is used, the current tree control height is used. The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.
Deprecated - Provided for compatibility with earlier versions only - Use MakeIntegralHeight instead
The IntegralHeight method vertically resizes the tree control so visible items are displayed in their entirety.
The Height value specifies the maximum height of the tree control to use. The IntegralHeight method calculates the largest height of the tree control (smaller or equal to Height) so that no partial items are displayed and resizes the control vertically using the calculated height. This method takes all tree control attributes into consideration, including the presence of a horizontal scroll bar.
The IntegralHeight method should be used after all tree control attributes have been set and all items have been added. If tree control attributes are changed after using the IntegralHeight method, the tree control does not automatically resize if items become partially visible.
The IntegralHeight method has no effect if variable height items are used (see Items.Style).
See Also SftTree Object | Object Hierarchy