ICtrlGroupConditions.CanGroup

Syntax

CanGroup(Indexes: Array): Boolean;

Parameters

Indexes. Array of indexes of component elements.

Description

The CanGroup method determines whether elements can be grouped.

Comments

Available values:

NOTE. Elements can be grouped if the array contains at least two elements specified consequently, which are not contained in other groups.

To group the selected elements, use the ICtrlGroupConditions.Group method.

To group elements by index, use the ICtrlGroupConditions.GroupByIndexes method.

Example

The method use is given in the example for ICtrlGroupConditions.Group.

See also:

ICtrlGroupConditions