ComponentOne List 8.0 for ActiveX
Splits in property trees

In the list's General property tree, splits are represented by numbered Split objects contained within the Splits property, as shown in the following figures. In the first tree, the Splits property is expanded to reveal the default split, labeled Splits(00). In the second tree, the default split is expanded to reveal its design-time properties, listed alphabetically beginning with AllowColMove.

The number enclosed in parentheses (00) represents the index of the default split within the Splits collection. The extra leading zero is there so that property tree nodes sort properly if there are more than ten items in a collection. Although this is unlikely for splits, it is common to have more than ten columns.

As a convenience, you can use the Splits property page to access the members of the Splits collection directly. The nodes displayed in the Splits property tree are identical to the nodes that appear when you expand the Splits property within the General tree.

Note that most of the split properties are not present at the root level of the General property tree. For example, you cannot set the AlternatingRowStyle property without expanding a Split object, because the value of this property can vary from split to split. The term split-specific is used to describe such properties, since they apply to individual splits rather than the list as a whole.

Conversely, the term global is used to describe properties that apply to the list as a whole, such as DataMode and BorderStyle. Global properties are accessible through the General property page or the Visual Basic Properties window. The latter also shows extender properties specific to the Visual Basic environment, such as Align and Tag.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback