HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

CalcLimit Property, SftTreeItems Object

Defines the maximum number of items to consider for optimal column width and scrolling calculation.

Syntax

Get

VB.NETLimit = object.CalcLimit As Integer
VBLimit = object.CalcLimit As Long
C#.NETint Limit = object.CalcLimit;
VC++long Limit = object->CalcLimit;
long Limit = object->GetCalcLimit();
CHRESULT object->get_CalcLimit(long* Limit);

Put

VB.NETobject.CalcLimit = Limit As Integer
VBobject.CalcLimit = Limit As Long
C#.NETint object.CalcLimit = Limit;
VC++long object->CalcLimit = Limit;
void object->PutCalcLimit(long Limit);
CHRESULT object->put_CalcLimit(long Limit);

object

A SftTreeItems object.

Limit

Defines the maximum number of items to consider for optimal column width and scrolling calculation. If 0 is specified, all items will be considered.

Comments

The CalcLimit property defines the maximum number of items to consider for optimal column width and scrolling calculation.

The limit defined using the CalcLimit property defines how many items are evaluated using the methods Column.OptimalWidth, RowHeaders.OptimalWidth, Column.MakeOptimal, RowHeaders.MakeOptimal and Items.RecalcHorizontalExtent.

Examples

VB6

         Reorderable     =   1
         Resizable       =   1
      EndProperty
      BeginProperty Items {9EBAA93C-293D-44FA-9989-08F078763A1F} 
         AutoExpandDragDrop=   1
         AutoExpandHover =   0
         BackColor       =   -2147483643
         BackColorOdd    =   -2147483643
         CalcLimit       =   0
         CalcVisibleOnly =   0
         Cell3D          =   0
         CharSearchColumn=   -1
         CharSearchMode  =   1
         DropHighlightColor=   -2147483635
         DropHighlightStyle=   1
         EditNoFocusStyle=   2

See Also SftTreeItems Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.