System.Win.TaskbarCore.TThumbBarButtonListBase.Create
Delphi
constructor Create(const AOwner: TPersistent; const ItemClass: TCollectionItemClass; const AOwnerItem: TCollectionItem = nil);
C++
__fastcall TThumbBarButtonListBase(System::Classes::TPersistent* const AOwner, const System::Classes::TCollectionItemClass ItemClass, System::Classes::TCollectionItem* const AOwnerItem);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Win.TaskbarCore.pas System.Win.TaskbarCore.hpp |
System.Win.TaskbarCore | TThumbBarButtonListBase |
Description
Creates and initializes a TOwnedCollection instance.
System.Win.TaskbarCore.TThumbBarButtonListBase.Create inherits from System.Classes.TOwnedCollection.Create. All content below this line refers to System.Classes.TOwnedCollection.Create.
Creates and initializes a TOwnedCollection instance.
The Create method takes two parameters: the name of an instance object descended from TPersistent and the name of a TCollectionItem descendant class. The first parameter is the owner of the TOwnedCollection instance. The second parameter determines the class of the items created by the Add method.