A header cell's sort arrow.

Usage

Set_Property(OLECtrlEntID, "OLE.HeaderArrow[col; row]", StringValue)

Values

StringValue can be any string meeting the following format requirements:

Syntax: "Up" for an up arrow; "Down" for a down arrow; "" for no arrow.

Default: ""

Indices

IndexDescription
colIndex to an existing header column
rowIndex to an existing header row

Remarks

The HeaderArrow property provides a way to display an arrow indicating sort direction. The arrows are drawn in runtime using system colors, so they may look more appealing than bitmaps. The arrows always appear to the right of the header caption if is left of center aligned and to the left of the header caption if it is right aligned.

Set this property to "Up" if you want an up arrow, "Down" if you want a down arrow, or "" if you want no arrow at all.

You are still responsible for sorting the data within the table programmatically. This property merely provides a convenient way to show arrows.

Example

// Show an up arrow on the first data column's header 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderArrow[2; 1]", "Up")

See Also

HeaderAlignment

  • No labels