|
panel에서 상속받아 component 만들었구요,
그 위에 GroupBox 올리고 그 위에 tabcontrol을 올렸습니다.
GroupBox1= new TGroupBox(this);
TabControl1= new TTabControl(this);
GroupBox1->Parent = this;
TabControl1->Parent = GroupBox1;
GroupBox1->Width = 200;
GroupBox1->Height = 200;
GroupBox1->Left = 5;
GroupBox1->Top = 5;
TabControl1->Width = 190;
TabControl1->Height = 190;
TabControl1->Left = 5;
TabControl1->Top = 5;
TabControl1->Tabs->Add("INC. Coordinate");
이렇게 만든 컴포넌트를 새로 만든 프로젝트 폼에 올려놓고 사용하려고 하면
Control '' has no parent window.
라고 error가 발생합니다.
왜 그런지 모르겠어요...ㅠㅠ
알려주셔요~~~
|