Sign in Join
FPDoc Onlineexperiment

TCustomEdit.Create constructor

Member of TCustomEditpublicIn unit StdCtrls

Constructor for the class instance.

Declaration

pascal
constructor Create(AOwner: TComponent); override

Arguments

AOwner

Owner of the class instance.

Description

Create is an overridden constructor in TCustomEdit, and calls the inherited constructor on entry. Create ensures that component and control styles are set to the values needed for the edit control; csEdit in component style, csRequiresKeyboardInput is included in ControlStyle. Please note that these values may be changed in descendent classes; i. e. TCustomMemo uses csMemo instead of csEdit in the component style.

The default values for properties are assigned, including:

  • MaxLength
  • HideSelection
  • ParentColor
  • TabStop
  • EchoMode
  • BorderStyle
  • AutoSelect
  • AutoSelected
  • AutoSize
  • AccessibleRole
  • TextHint

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.