Custom component controls keep re-creating
I'm a newbie in Firemonkey/custom controls so sorry if this is a banal question or a duplicate one but I'm stuck and can't figure it out. Here's the code of my custom control unit swScheduler; interface uses System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.StdCtrls, FMX.Calendar, FMX.Objects; type TswScheduler = class(TControl) private { Private declarations } paLaterale: TPanel; clCalendario: TCalendar; paLibero: TPanel; paScheduler: TPanel; rcSCTop: TRectangle; protected { Protected declarations } public { Public declarations } constructor Create( AOwner: TComponent ); override;