Navigation:  Classes > bCellGroupItem >

bCellGroupItem:SetPosition()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Set the start cell and end cell in the cell group.

Class

bCellGroupItem

Type

Method

Syntax

<oCellGroupItem>:SetPosition(

<oStartCell>,

<oEndCell>,

<iOptions>

) Æ lSuccess

Arguments

<oStartCell>The upper left cell that is put as start cell in the cell group.
Data Type:bCell

 

<oEndCell>The lower right cell that is put as end cell in the cell group.
Data Type:bCell

 

<iOptions>Options which should be considered. The options below are supported:

 

Option

Description

BCGISPO_UNDEFINED

No options are defined.

 

Important note!

If the option BCGIO_ABSOLUTEPOSITION is defined in the access bCellGroupItem:Options, then the the cell is absolute otherwise relative to the parent cell group.

BCGISPO_ABSOLUTEPOSITION

The start cell and end cell are absolute to the parent cell group.

 

Important note!

If the option BCGIO_ABSOLUTEPOSITION is not defined in the access bCellGroupItem:Options, then the start cell and end cell are transformed in relative values.

BCGISPO_RELATIVEPOSITION

The start cell and end cell are relative to the parent cell group.

 

Important note!

If the option BCGIO_ABSOLUTEPOSITION is defined in the access bCellGroupItem:Options, then the start cell and end cell are transformed in absolute values.

 

Data Type:DWord

Return Value

lSuccessA logical value that indicates whether the start cell and end cell could be put in the cell group.
TRUEThe start cell and end cell could be put.
FALSEThe start cell and end cell could not be put.
Data Type:Logic

Description

bCellGroupItem:SetPosition() put the start cell and end cell of the cell group. The start cell defines the upper left cell and the end cell the lower right cell of cell group.

See Also

bCellGroupItem:EndCell

bCellGroupItem:Options

bCellGroupItem:Parent

bCellGroupItem:StartCell

 


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