Skip to content

phoReportColumn - cCJGrid

Provides a proxy object for the cCJGridColumn class

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

Syntax

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

Description

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

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

This object is provided to provide easier access to the cCJGridColumn interface. You should rarely need to use this. All of the grid column objects (cCJGridColumn) are based on the cCJGridColumn class and you can use these objects to access all COM messages for any report column.

Notes

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

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

You should never set this property.