Vcl.ExtCtrls.TControlCollection.RemoveControl
Delphi
procedure RemoveControl(AControl: TControl);
C++
void __fastcall RemoveControl(Vcl::Controls::TControl* AControl);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TControlCollection |
Description
Removes all control items in the collection with the specified control property.
Call RemoveControl to remove all control items in the Items array with the control property equal to the given AControl parameter. The Items array is subsequently updated by moving up any items that come after the deleted ones.