A control's selected combo box drop down row data.

Usage

Array = Get_Property(OLECtrlEntID, "OLE.ComboRowData[CtrlId]")

Values

Array has the following structure:

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

Indices

IndexDescription
CtrlIdIdentifies a subclassed control

Remarks

Applies To: EDITLINE, EDITBOX

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

If there is no drop down selection, then this property is blank. If you need data from a non-selected row, use the ComboData instead.

Example

// NOTE: using ; and not . 
CtrlId = @Window:";EDITLINE" 

// Get the full row's data from the combo box selection 
RowData = Get_Property(@Window:".OLE_EDITTABLE", "OLE.ComboRowData[":CtrlId:"]")

See Also

ComboComboSelPosComboDataComboDropDown

  • No labels