Navigation:  Classes > bCellDragEvent >

bCellDragEvent:CellList

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

List of the cells that belong to the drag & drop process.

Class

bCellDragEvent

Type

Access

Data Type

Array

Description

The list consists of an array of data rows. Each data row contains again an array with the cells to the row. Each cell consists of an array that contains the field name and the field value of the cell. For the field name the constant BCDD_NAME and for the field value the constant BCDD_VALUE is defined.

 

CellList [<Row>]

[<Cell>]

[BCDD_NAME]



[BCDD_VALUE]

 

Both the field names and the field values are string values.

Samples

With the following code fragment the cells from the access bCellDragEvent:CellList are returned.

 

LOCAL auCellList        AS ARRAY

LOCAL iRow, iRowCount   AS DWORD

LOCAL iCell, iCellCount AS DWORD

 

auCellList := oCellDragEvent:CellList

iRowCount := ALen(auCellList)

FOR iRow:=1 UPTO iRowCount

 iCellCount := ALen(auCellList[iRow])

 FOR iCell:=1 UPTO iCellCount

         ? "Feld: "+acCellList[iRow, iCell, BCDD_NAME]

         ? "Wert: "+acCellList[iRow, iCell, BCDD_VALUE]

 NEXT

NEXT

 


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