Sign in Join
FPDoc Onlineexperiment

TMaskList.Create constructor

Member of TMaskListpublicIn unit Masks

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

Declaration

pascal
constructor Create(const aValue: string; aSeparator: char=';'; 
                  CaseSensitive: Boolean=False; 
                  aOpcodesAllowed: TMaskOpCodes=DefaultMaskOpCodes)
                  ;  virtual

Description

Create is the overloaded constructor for the class instance. Create allocates resources for the internal object list in the class instance. Arguments passed to the constructor are used to configure and populate the values in the Items property by calling the AddMasksToList method. Values in the arguments are also assigned to the CaseSensitive and MaskOpCodes properties.

The overloaded variant which does not include an Options parameter has been deprecated. It will be removed in a future Lazarus version.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.