The currently selected cell.

Usage

Set_Property(OLECtrlEntID, "OLE.SelPos", Array)

Values

Array has the following structure:

PosNameTypeDescriptionDefault
<1>Selected FieldIntegerThe field location of the selected cell1
<2>Selected RecordIntegerThe record location of the selected cell1

Remarks

The SelPos property represents the currently selected cell. If no cell is selected, then both fields are -1. To programmatically select no cells, set both fields to -1.

See Also

SelectionStyle