The number of header rows.

Usage

Set_Property(OLECtrlEntID, "OLE.HeaderRowCount", Value)

Values

Value can be any positive or negative whole number:

Default: 1

Remarks

The HeaderRowCount property allows you to set additional header rows at the top of your edit table. This property works only if the RowsToRecords property is set to 0. This is because RowsToRecords forces the number of header row for the sake of consistency. When RowsToRecords is greater than zero, you may read this property to see the number of rows.

Any value less than zero is ignored when setting this property.

Example

// Turn off rows-to-records and set 2 header rows
Set_Property(@Window:".OLE_EDITTABLE", "OLE.RowsToRecords", 0) 
Set_Property(@Window:".OLE_EDITTABLE", "OLE.HeaderRowCount", 2)

See Also

DimensionRowsToRecords

  • No labels