Vcl.ButtonGroup.TGrpButtonItem.SetCollection

From RAD Studio API Documentation

Delphi

procedure SetCollection(const Value: TGrpButtonItems); reintroduce;

C++

HIDESBASE void __fastcall SetCollection(TGrpButtonItems* const Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ButtonGroup.pas
Vcl.ButtonGroup.hpp
Vcl.ButtonGroup TGrpButtonItem

Description

Sets the value of the Collection property. {{#multireplace:Vcl.ButtonGroup.TGrpButtonItem.SetCollection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Classes.TCollectionItem.SetCollection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Classes.TCollectionItem.SetCollection|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Sets the value of the Collection property.

SetCollection is the protected write implementation of the Collection property.

Value specifies the collection to which this item should be added.

SetCollection removes this item from the collection to which it currently belongs and adds it to the collection specified by Value.

See Also