Sign in Join
FPDoc Onlineexperiment

TMaskBase.AutoReverseRange property

Member of TMaskBasepublicIn 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 Compile to be called during execution of the Matches method. The property value is used in the implementation of the private CompileRange method in descendent classes.

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