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
Returns the width of the area added to the first column for hierarchical graphics components.
Get
VB.NET | WidthPix = object.OverheadWidthPix As Integer |
VB | WidthPix = object.OverheadWidthPix As Long |
C#.NET | int WidthPix = object.OverheadWidthPix; |
VC++ | long WidthPix = object->OverheadWidthPix; long WidthPix = object->GetOverheadWidthPix(); |
C | HRESULT object->get_OverheadWidthPix(long* WidthPix); |
object
WidthPix
Returns the width of the area added to the first column for hierarchical graphics components. The units used are pixels.
The OverheadWidthPix property returns the width of the area added to the first column for hierarchical graphics components.
Due to the variable number of levels and the resulting hierarchical display, the width of the first column is always treated as a minimum width. The text portion of the first column will always be at least of the width specified using the Column.Width property, no matter what level the item is on. This can result in the first column being much wider than the defined width. To calculate the actual width of column 0, add the value returned by the Columns.OverheadWidth property to the value returned by Column.Width.
The OverheadWidthPix property returns the width of the area reserved for non-cell displays, such as label pictures, tree lines and item pictures for all items. If more levels are added to a hierarchy, the OverheadWidthPix value increases.
See Also SftBoxColumns Object | Object Hierarchy