Contents
- Index
- Previous
- Next
About the TCustomEan component
See also TCustomEan reference
Purpose
The basic component, you can use as an ancestor for new component formation.
Tasks
As far as you need to create your own component which would be able to print a bar code, you can derive it from TCustomEan. If it is not possible because your tool on configuration forming must have a component derived from another one, you can use the construction:
TMyReportEan=class(TMyReportbasicComponent)
private
FEan:TEan
procedure SetEan(Value:TEan);
public
constructor Create(AOwner:TComponent); override;
published
property Ean:TEan read FEan;
end;
constructor TMyReportEan.Create(AOwner:TComponent); ;
begin
inherited Create(AOwner);
FEan := TEan.Create(Self);
end;