SftTree/OCX 7.0

SftTreeColumns.OverheadWidth Property

Softel vdm, Inc.

Returns the width of the area added to the first column for hierarchical graphics components.

Syntax       

Get

VB.NET

Width = object.OverheadWidth  As Single

VB

Width = object.OverheadWidth  As Single

C#.NET

float Width = object.OverheadWidth;

VC++

float Width = object->OverheadWidth;
float Width = object->GetOverheadWidth();

C

HRESULT object->get_OverheadWidth(float* Width);

Delphi

Width := object.OverheadWidth   : Single;

object

A SftTreeColumns object.

Width

Returns the width of the area added to the first column for hierarchical graphics components.  The units used depend on the container (Visual Basic, Visual C++, etc.) and the coordinate system used.

Comments

The OverheadWidth property returns the width of the area added to the first column for hierarchical graphics components.

The ColumnsObj.OverheadWidth and ColumnsObj.OverheadWidthPix properties are synonyms, but may use different coordinate systems.

Due to the variable number of levels and the resulting hierarchical display, the width of the first column is always treated as a minimum value.

The OverheadWidth property returns the width of the area reserved for non-cell displays, such as label graphics, expand/collapse buttons, tree lines and item graphics for all items.  If more levels are added to a hierarchy, the OverheadWidth value increases.

See Also  SftTreeColumns Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com