|
Constructor
Destructor
linuxman 님이 쓰신 글 :
: main form위에 panel을 올려놓고..그위에 Frame을 올려놓으려고합니다.
: 아래처럼 하면 panel위에 잘 올라옵니다.
: ===============
: TfrmTest *test;
:
: void __fastcall TmainF::Button1Click(TObject *Sender)
: {
: test= new TfrmTest(this);
: test->Parent=this->Panel1;
: test->Top =0;
: test->Left=0;
: test->Width=this->Panel1->Width;
: test->Height=this->Panel1->Height;
: test->Name="rtl";
:
: }
:
: 여기서 알고 싶은것은 올아온 Frame에 combo Box등 초기화해야할 데이타들이 있습니다.
: 일반 form 에서는 OnCreate event나, OnDestrory evvent가 있어서... 필요한 데이타들을 초기화 내지,
: 메모리에서의 삭제 등을 할수 있는데...
:
: frame에는 onCreagte나 OnDestory가 없는것 같습니다...
: 그래서 Frame에서 OnCreate나 OnDestory 같은 event를 프레임에서 쓸수 있나요?
: (Frame이 생성/Destory 시에 무언가를 초기화내지 free 시키는 동작을 넣으려고 합니다..)
:
: 수고하세요..
|