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

TWindowsMaskList.Create

Constructor for the class instance.

Declaration

Source position: masks.pas line 357

public constructor TWindowsMaskList.Create(

  const aValue: string;

  aSeparator: Char = ';';

  aCaseSensitive: Boolean = False;

  aOpcodesAllowed: TMaskOpCodes = DefaultMaskOpCodes

); override;

constructor TWindowsMaskList.Create(

  const aValue: string;

  aSeparator: Char;

  aCaseSensitive: Boolean;

  aOpcodesAllowed: TMaskOpCodes;

  aWindowsQuirksAllowed: TWindowsQuirks

); overload;

constructor TWindowsMaskList.Create(

  const aValue: string;

  aSeparator: Char;

  aOptions: TMaskOptions

); override;

Arguments

aValue

  

Mask expression for the class instance.

aSeparator

  

Delimiter used between mask expressions in AValue.

aCaseSensitive

  

True if the mask expression(s) are case sensitive.

aOpcodesAllowed

  

Set of TMaskOpCode values enabled for the class instance.

Arguments

aValue

  

Mask expression for the class instance.

aSeparator

  

Delimiter used between mask expressions in AValue.

aCaseSensitive

  

True if the mask expression(s) are case sensitive.

aOpcodesAllowed

  

Set of TMaskOpCode values enabled for the class instance.

aWindowsQuirksAllowed

  

Set of TWindowsQuirk values allowed for the class instance.

Arguments

aValue

  

Mask expression for the class instance.

aSeparator

  

Delimiter used between mask expressions in AValue.

aOptions

  

Set of TMaskOption values enabled for the class instance.

Description

Create is the overloaded constructor for the class instance. Create ensures that arguments passed to the constructor are stored in internal members for use in the class instance. The overloaded variants allow configuration settings to include a set of TMaskOption values or a set of Windows "quirks" supported for the masks in the list.

Remark: The variant with a TMaskOptions parameter has been deprecated in version 2.3, and will be removed in version 2.5.

Version 4.0 Generated 2025-05-03 Home