Navigation:  Classes > bCellGroupList >

bCellGroupList:Options

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Options that can define the behavior of the cell group list.

Class

bCellGroupList

Type

Access / Assign

Data Type

DWord

Description

With options, the Cell Group List behavior can be controlled. Several options can be combined. The table below defines the supported options:

 

Option

Description

BCGLO_NONE

No options are defined.

 

Important notes!

The cell groups are unsorted in the list. The method bCellGroupList:Add() appends the cell group at the end of the list. It is no matter whether the cell group is within one column and/or row or spans several columns and or rows. See also option BCGLO_ROWCONTROL.

BCGLO_AUTO

The following default options are used:

BCGLO_NONE

BCGLO_ROWCONTROL

The cell groups are sorted in ascending order in the list based on the bCellGroupItem:StartCell.

 

Important notes!

Each cell group must be in one row. It may not span two or more rows. However, it is no matter whether the cell group is within one column or spans several columns. See also option BCGLO_NONE.

 

Single options can be checked, set and deleted with the bit functions

_And()

_Or()

_Xor()

Samples

With the following code fragment the assign is initialized with the option BCGLO_ROWCONTROL.

 

oCellGroupList:Options := _Or(BCGLO_ROWCONTROL)

 

With the following code fragment the option BCGLO_ROWCONTROL is put.

 

oCellGroupList:Options := _Or(oCellGroupList:Options,;

                                                         BCGLO_ROWCONTROL)

 

With the following code fragment it is checked whether the option BCGLO_ROWCONTROL is put.

 

IF _And(oCellGroupList:Options, BCGLO_ROWCONTROL)>0

 :

ENDIF

 

With the following code fragment the option BCGLO_ROWCONTROL is deleted.

 

IF _And(oCellGroupList:Options, BCGLO_ROWCONTROL)>0

 oCellGroupList:Options := _Xor(oCellGroupList:Options,;

                                                         BCGLO_ROWCONTROL)

ENDIF

 

 


Page url: http://www.YOURSERVER.com/index.html?bcellgrouplist_options.htm