Hello,
I'm trying to inherit of the TTMSFMXCalendar Control like
unit SU.FMX.Calendar;
// Ableitung und Erweiterung von TMSFMXButton
interface
uses Classes, Fmx.TMSCalendar;
type
TSUFMXCalendar = class;
// Button Komponente
TSUFMXCalendar = class(TTMSFMXCalendar)
private
protected
public
constructor Create(AOwner: TComponent); override;
published
end;procedure Register;
implementation
// Komponente Registrieren
procedure Register;
begin
RegisterComponents('SU FMX', [TSUFMXCalendar]);
end;constructor TSUFMXCalendar.Create(AOwner: TComponent);
begin
inherited;
Width := 400;
Height := 360;
end;end.
But if I'm using the new component the calendar is not shown. I have an empty rectangle. What do I wrong?
Best wishes
Bernhard Roos