码迷,mamicode.com
首页 > 其他好文 > 详细

tab form

时间:2016-05-21 14:24:05      阅读:118      评论:0      收藏:0      [点我收藏+]

标签:

procedure TForm2.ToolButton1Click(Sender: TObject);
var
  frm: TForm;
begin
  frm := TForm.Create(Application);
  frm.Parent := self.PageControl1.ActivePage;
  frm.Show;
  frm.BorderStyle := bsNone;
  frm.WindowState := wsMaximized;
end;

 

void __fastcall TForm1::ToolButton1Click(TObject *Sender)
{

    TForm *frm;
    frm = new TForm(Application);
    frm->Parent = this->PageControl1->ActivePage;

    frm->BorderStyle = bsNone;
    frm->WindowState = wsMaximized;
    frm->Show();
}

 

tab form

标签:

原文地址:http://www.cnblogs.com/cb168/p/5514617.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!