tab form

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();
}
上一篇:Js数组去重方法总结


下一篇:Flume wasn't able to parse timestamp header