我这样做了,可是提示错误
type
TGetRegisterModeEvent = Function(sender:TObject):TRegisterMode of Object; //EntityConfig向RegisterModeFrame索要注册类型的数据事件
private
FOnGetRegisterMode:TGetRegisterModeEvent; //触发外部事件
published
property OnGetRegisterMode :TGetRegisterModeEvent read FOnGetRegisterMode write FOnGetRegisterMode;
end;
错误 Field definition not allowed after methods or properties