Sign in Join
FPDoc Onlineexperiment

TMaskList.AddMasksToList procedure

Member of TMaskListprotectedIn unit Masks

Adds new mask instances to the list for the specified delimited mask expressions and settings.

Declaration

pascal
procedure AddMasksToList(const aValue: string; aSeparator: char; 
 CaseSensitive: Boolean; 
 aOpcodesAllowed: TMaskOpCodes); virtual

Arguments

aValue

Delimited mask expressions for the instances added to the list.

aSeparator

Delimiter between mask expressions in AValue.

CaseSensitive

Indicates whether mask expressions are case sensitive.

aOpcodesAllowed

Set of Mask op codes allowed for the class instances added to the list.

Description

Parses mask expression in AValue using the delimiter in ASeparator. A new TMaskClass instance is created and stored for each of the mask expressions using the settings in CaseSensitive and AOpcodesAllowed.

AddMasksToList is called from the Create constructor to populate the list using the mask expression(s) and settings passed as arguments to the method. It is also called when a new value is assigned to the Mask property.

See also

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