ComponentOne List 8.0 for ActiveX
Columns in property trees

The distinction between split-specific and global properties also extends to the Columns collection that represents columns of data within the list. As a rule of thumb, properties that govern display characteristics or end-user interaction tend to be split-specific, while properties that govern database access are global.

In the list's General property tree, global column properties are represented by numbered Column objects contained within the Columns property, as shown in the following figures. In the first tree, the Columns property is expanded to reveal the default columns, labeled Columns(00) and Columns(01). In the second tree, the first default column is expanded to reveal its design-time properties, listed alphabetically beginning with Caption.

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

Each member of the Splits collection also exposes a Columns property, as shown in the next pair of figures. In the first tree, the Columns property of the default split is expanded to reveal the same default columns. In the second tree, the first default column is expanded to reveal its design-time properties, listed alphabetically beginning with Alignment.

Note the difference between this set of column properties and the set listed in the preceding pair of figures. The properties in this set are split-specific, since their values can vary from split to split. For example, you can create a fixed, nonscrolling column by setting its Visible property to True in the leftmost split and False in all others.

See True DBList Property Pages if you are unsure where a given property is located.

 

 


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

Product Support Forum  |  Documentation Feedback