tComboItemData

See Also: Declaring Variables, Struct

 

Purpose

tComboItemData is a structured type used for some members of the cCJGridColumn and cDbCJGridColumn classes.

 

Type Declaration

Struct tComboItemData

    String sCaption

    Integer iData

End_Struct

 

Struct Members

sCaption

The value displayed in the combo list.

iData

A unique numeric value representing the combo item. These values are values are used internally by the CodeJock grid control's ReportRecordItemConstraints object.

 

Syntax

Use cCJGridColumn.pkg

:

tComboItemData {variableName}

or

Use cDbCJGridColumn.pkg

:

tComboItemData {variableName}

 

Declaring variables

To declare tComboItemData variables, use the name of the type (tComboItemData) followed by the variable name.

tComboItemData MyComboItemData

See struct variables for more details of instantiating struct types.