|
폼에 컴포넌트를 올려서 하는게아니라 텍스트로 접근해서 폼에 표시해주고싶은데요.
패널 창이 컴파일시 폼에 안나타나네요 ㅠㅠ..
//---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
#include "Ex.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
// TRect RECT = Application->MainForm->BoundsRect;
TTimer *Timer1;
Timer1 = new TTimer(Timer1);
Timer1->Enabled = true;
Timer1->Interval = 20;
Timer1->OnTimer = Timer63Timer;
TPanel *Pannel1;
Pannel1 = new TPanel(this);
Pannel1->Height = 100;
Pannel1->Width = 200;
Pannel1->Top = 40;
Pannel1->Left = 40;
Pannel1->Enabled = true;
Pannel1->Visible = true;
Pannel1->Align =alNone;
Pannel1->Show();
// Pannel1->
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Timer63Timer(TObject *Sender)
{
int i = 0 ;
}
//---------------------------------------------------------------------------
|