EControl Form Designer Pro
TCustomEditEx.Create Constructor

Creates and initializes a TBtnEdit instance.

constructor Create(Owner: TComponent); override;

Use Create to programmatically instantiate this type of a control.

  • Calls the inherited Create method
  • Sets the width of the button calling GetSystemMetrics method with SM_CXVSCROLL parameter
  • Sets ButtonVisible to false
  • Sets Alignment to taLeftJustify
  • Sets MultiLine to true
  • Creates Canvas object and sets its Control property to the control itself.
Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
What do you think about this topic? Send feedback!