Vcl.DBCtrls.TDBCheckBox.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TDBCheckBox(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TDBCheckBox(HWND ParentWindow) : Vcl::Stdctrls::TCustomCheckBox(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBCheckBox |
Description
Creates an instance of TDBCheckBox.
Call Create to instantiate a TDBCheckBox object at runtime. For TDBCheckBox objects placed on forms or data modules at design time, Create is called automatically.
Pass a single Component as a parameter to provide the TDBCheckBox object with an Owner that is responsible for freeing it.After calling the inherited constructor to allocate and initialize a generic check box, Create
Adds csReplicatable to ControlStyle.
Creates and initializes the helper objects needed to link to a dataset.