Sign in Join
FPDoc Onlineexperiment

TMaskList.AutoReverseRange property

Member of TMaskListpublicIn unit Masks

Indicates if a range expression is automatically reversed when the starting value is larger than the ending value.

Declaration

pascal
property AutoReverseRange: Boolean read fAutoReverseRange write SetAutoReverseRange;

Description

Setting AutoReverseRange to True would cause a range expression like '[e-a]' to be treated as if it were specified as '[a-e]'. The default value for the property is True, as assigned in the Create constructor.

Changing the value for the property causes the corresponding property in each of the Items in the list to be updated. This causes Compile in the TMask instance to be called when it executes its Matches method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.