Skip to main content
Table of Contents

TTMSFNCDataGridDataAutoFillLaneModel Record

Pattern detected for one AutoFill lane (one column when filling vertically, one row when filling horizontally): trend, text-with-number pattern, seed values, custom list, and date pattern.

API unit family: TMSFNCDataGridData

Syntax

GeneratedPascalC++
TTMSFNCDataGridDataAutoFillLaneModel = record
struct DECLSPEC_DRECORD TTMSFNCDataGridDataAutoFillLaneModel

Remarks

Produced by the analysis pass of TTMSFNCDataGridData.AutoFill and consumed while the target cells are generated. It is exposed for inspection only; the values are recomputed for every fill.

Fields and properties

Name Type Description
CustomListBaseIndex Integer Index within the custom list that the last seed value matched.
CustomListEnabled Boolean True when the lane continues a registered custom list rather than a numeric or date pattern.
CustomListFromEvent Boolean True when the list entries were supplied by an event handler instead of a registered list.
CustomListKey string Identifies the custom list the lane continues.
CustomListStep Integer Number of list entries advanced between consecutive filled cells.
DatePatternBaseDate TDateTime The date the sequence continues from.
DatePatternEnabled Boolean True when the lane continues a date or time sequence.
DatePatternStep Integer Number of DatePatternType units advanced between consecutive filled cells.
DatePatternType TTMSFNCDataGridDataDatePatternType The calendar unit the date sequence advances by: day, week, month, or year.
EventCustomListCount Integer Number of entries in EventCustomListValues.
EventCustomListValues TArray<string> List entries supplied by the event handler. Only meaningful when CustomListFromEvent is True.
HasEmptySeed Boolean True when at least one source cell was empty, which weakens pattern detection.
LaneFillType TTMSFNCDataGridDataAutoFillType The kind of fill selected for this lane after pattern detection.
LaneStep Double Amount a numeric fill increases by between consecutive filled cells.
SeedCount Integer Number of cells in the source selection the pattern was detected from.
SeedValues TTMSFNCDataGridDataValues The source cell values the pattern was detected from.
TextNumEnabled Boolean True when the lane continues a text pattern that ends in a number, such as Item 1.
TextNumPrefix string Literal text that precedes the number in the detected pattern.
TextNumStart Int64 Numeric value the pattern continues from.
TextNumStep Int64 Amount the number increases by between consecutive filled cells.
TextNumSuffix string Literal text that follows the number in the detected pattern.
TextNumWidth Integer Digit count the number is padded to, preserving leading zeros from the seed.
TrendCount Integer Number of seed values the line was fitted to.
TrendEnabled Boolean True when the lane extrapolates a linear trend fitted to the seed values.
TrendIntercept Double Constant term of the fitted line, that is its value at position zero.
TrendSlope Double Change in value per step along the fitted line.