Board index » cppbuilder » Question about inherit form TFormXX
afatdog
![]() CBuilder Developer |
Question about inherit form TFormXX2003-11-26 05:04:31 PM cppbuilder68 //-------------------------------------------- // base form //-------------------------------------------- class TForm_Base : public TForm { __published: // IDE-managed Components TButton *Button1; TEdit *Edit1; private: // User declarations public: // User declarations __fastcall TForm_Base(TComponent* Owner); }; //-------------------------------------------- // form inherit from TForm_Base //-------------------------------------------- class TForm_Child : public TForm_Base // <- here { __published: // IDE-managed Components TEdit *Edit2; private: // User declarations public: // User declarations __fastcall TForm_Child(TComponent* Owner); }; But I cann't see the Button1 and Edit1 at design time. How to see the base form's components in the ingerit form? Thanks! |