Merhaba. FMX çok yapısında buna benzer yapılar görüyorum. Tam olarak ne için böyle karmaşık olduklarını anlamadım. Bende bileşenimde bu tür yapıyı kullanmak zorundamıyım? Tam olarak nasıl kullanmalıyım?
type
ICustomInterface= interface(IInterface)
['{A5BB2E8C-6D53-4FF3-BC38-2299285F07BD}']
end;
TCustomService = class(TInterfacedObject, ICustomInterface)
private
[Weak] FControl: TCustomControl;
end;
TCustomControl = class(TControl)
private
FInterface: ICustomInterface;
end;
TMyControl= class(TCustomControl)
published
property Align;
property Anchors;
property Height;
property Size;
property Margins;
property Position;
property Visible default True;
property Width;
end;


