A cell's selected combo box row of data.

Usage

Array = Get_Property(OLECtrlEntID, "OLE.CellComboRowData[field; record]")

Values

Array has the following structure:

PosNameTypeDescription
<1>DataTextThe data from a column in the selected row of the drop down list

Indices

IndexDescription
fieldIndex to an existing field
recordIndex to an existing record

Remarks

The CellComboRowData is a useful property for getting all the data from the currenty selected row of a cell's combo box drop down list. Since the cell only contains a single value from the dropdown list's selected row, you can use this property to get the all the other columns in the row as well. The columns are delimited by field marks.

If there is no selection defined for the cell, then this property is blank. If you need data from a non-selected row, read the CellType property for the cell instead.

This property is only valid for cell's whose CellType property has been set to "Combo."

Example

// Get the full row's data from the first cell's combo box selection 
RowData = Get_Property(@Window:".OLE_EDITTABLE", "OLE.CellComboRowData[1; 1]")

See Also

CellTypeCellComboSelPosCellComboData

  • No labels