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

TMaskList.AddMasksToList

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

Declaration

Source position: masks.pas line 319

protected procedure TMaskList.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

TMaskList.Create

  

Creates a new list with mask instances for the specified mask values, delimiter and options.

TMaskList.Mask

  

String with the delimited list of mask expressions for the class instances in the list.

TMaskList.GetMaskClass

  

Gets the class type used to create new mask instances for the list.

TParseStringList

  

Parses text into a list of strings using a specified line separator.


Version 4.0 Generated 2025-05-03 Home