C++Builder 程序员博客
26 Aug
各位高人
void __fastcall TForm1::Button1Click(TObject *Sender)
{
TProgressBar* ProgressBar = new TProgressBar(this);
ProgressBar->Top = 20;
ProgressBar->Left = 10;
ProgressBar->Height = 100 ;
ProgressBar->Width = 10;
ProgressBar->Max = 100;
ProgressBar->Orientation = pbVertical;
ProgressBar->Position = 50;
ProgressBar->Name = "ProgressBar1";
ProgressBar->Visible = true;
}
为什么我这段程序写上去click以后 即不报错,progressbar也在form上不出来呢?
嗯~~!!行了~~thank you