Unit 'fpmkunit' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TPackageVariants

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Collection of package variants

Declaration

Source position: fpmkunit.pp line 655

type TPackageVariants = class(TNamedCollection)

public

  function Add(); virtual; overload;

  

Adds a new package variant to the collection

  function GetEnumerator;

  

Gets enumerator for iterating package variants

  property Name: string; [rw]

  

Name of the package variants collection

  property MasterPackage: TPackage; [r]

  

Reference to the master package owning the variants

  property DefaultPackageVariant: TPackageVariant; [r]

  

Default package variant used when none specified

  property ActivePackageVariant: TPackageVariant; [r]

  

Currently active package variant for building

  property DefaultPackageVariantName: string; [rw]

  

Name of the default package variant

  property ActivePackageVariantName: string; [rw]

  

Name of the currently active package variant

  property IsInheritable: Boolean; [r]

  

Whether package variants can be inherited by child packages

  property AutoAddToPackage: Boolean; [r]

  

Whether variants are automatically added to the package

end;

Inheritance

TPackageVariants

  

Collection of package variants

|

TNamedCollection

  

Collection class for managing named items

|

TCollection

|

TPersistent

|

TObject,IFPObserved

Description

TPackageVariants is a collection class that manages multiple TPackageVariant objects. This class provides methods for adding, accessing, and enumerating package variants within a package configuration.


Documentation generated on: Dec 15 2025