Vcl.StdCtrls.TCustomCheckBox.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TCustomCheckBox(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCustomCheckBox(HWND ParentWindow) : TButtonControl(ParentWindow) { }

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomCheckBox

Beschreibung

Erstellt und initialisiert eine Instanz von TCustomCheckBox.

Mit Create können Sie zur Laufzeit ein Kontrollfeld erzeugen. Für Kontrollfelder, die zur Entwurfszeit in einem Formular platziert werden, wird Create automatisch aufgerufen.

AOwner ist eine Komponente (normalerweise das Formular), die für die Freigabe der Kontrollkästcheninstanz verantwortlich ist.

Siehe auch