關於 synedit SimpleIDEDemo for bcb6 |
尚未結案
|
deanmac85
一般會員 發表:13 回覆:4 積分:3 註冊:2007-05-29 發送簡訊給我 |
[code cpp] SynEdit.hpp class PASCALIMPLEMENTATION TSynEditPlugin : public System::TObject { typedef System::TObject inherited; private: TCustomSynEdit* fOwner; protected: virtual void __fastcall AfterPaint(Graphics::TCanvas* ACanvas, const Types::TRect &AClip, int FirstLine, int LastLine) = 0 ; virtual void __fastcall LinesInserted(int FirstLine, int Count) = 0 ; virtual void __fastcall LinesDeleted(int FirstLine, int Count) = 0 ; __property TCustomSynEdit* Editor = {read=fOwner}; public: __fastcall TSynEditPlugin(TCustomSynEdit* AOwner); __fastcall virtual ~TSynEditPlugin(void); }; main.cpp class TDebugSupportPlugin: public TSynEditPlugin { typedef TSynEditPlugin inherited; protected: TSimpleIDEMainForm* fForm; virtual void __fastcall AfterPaint( Graphics::TCanvas* ACanvas, const Types::TRect &AClip, int FirstLine, int LastLine ); virtual void __fastcall LinesInserted( int FirstLine, int Count ); virtual void __fastcall LinesDeleted( int FirstLine, int Count ); public: __fastcall TDebugSupportPlugin( TSimpleIDEMainForm* AForm ); }; __fastcall TDebugSupportPlugin::TDebugSupportPlugin( TSimpleIDEMainForm* AForm ) : fForm(AForm) //E2251 Cannot find default constructor to initialize base class 'TSynEditPlugin' { //... } [/code] 請問一下我是哪邊錯誤呢 ? |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |