問題:Firemonkey TFrame 存檔後,下次載入某些事件連結會消失(但源碼還在)
解決:(暫時方法)
type
TTestFrame = class(TFrame)
public
constructor Create(AOwner: TComponent); override;
end;
implementation
{$R *.fmx}
constructor TTestFrame.Create(AOwner: TComponent);
begin
inherited;
OnResize := FrameResize; // Frame 存檔後,事件連結會消失,可以在 Create 裡設定來暫時解決這個問題
end;