Skip to content

phoReportColumns - cCJGrid

Provides a proxy object for the cCJGridColumns class

Type: Property
Access: Read/Write
Data Type: Handle
Parameters: None

Syntax

Property Handle phoReportColumns
Access Type Syntax
Read Access: Get phoReportColumns to HandleVariable
Write Access: Set phoReportColumns to HandleVariable/Value

Description

phoReportColumns is a DataFlex proxy object for the cCJGridColumns class. It can only be used when the grid class is activated (i.e., the cCJGrid COM object is created). This is statically bound to a column, so you do not need to provide this binding yourself.

This object is provided to provide easier access to the cCJGridColumns interface. You should rarely need to use this, since this is used to provide access to the COM Grid column objects (cCJGridColumn) and these are more easily accessed via the column objects (cCJGridColumn).

Get phoReportColumns to hoReportColumns
Get phoReportColumn to hoReportColumn
Get ComCount of hoReportColumns to iCols
For iDisplayIndex from 0 to (iCols-1)
    Get ComColumn of hoReportColumns iDisplayIndex to vCol
    Set pvComObject of hoReportColumn to vCol
    Get ComItemIndex of hoReportColumn to iColIndex
    :
Loop

Notes

This can only be used when the grid control is active.

The proxy object is statically bound to the COM object so you do not need to 'set pvComObject' before using it.

You should never set this property.