[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'Masks' (#lazutils)

TMaskBase.AutoReverseRange

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

Declaration

Source position: masks.pas line 211

public property TMaskBase.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.


Version 4.0 Generated 2025-05-03 Home