mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 23:39:28 +01:00
speed up creation a bit
git-svn-id: trunk@6443 -
This commit is contained in:
parent
f3d0470054
commit
7dffa37bbc
@ -42,28 +42,29 @@ begin
|
||||
inherited Create(TheOwner);
|
||||
Name:='Form1';
|
||||
Caption:='Nested Groupbox demo';
|
||||
SetBounds(100,50,300,250);
|
||||
|
||||
GroupBox1:=TGroupBox.Create(Self);
|
||||
with GroupBox1 do begin
|
||||
Name:='GroupBox1';
|
||||
Parent:=Self;
|
||||
SetBounds(0,0,350,350);
|
||||
Align:=alClient;
|
||||
Parent:=Self;
|
||||
end;
|
||||
|
||||
GroupBox2:=TGroupBox.Create(Self);
|
||||
with GroupBox2 do begin
|
||||
Name:='GroupBox2';
|
||||
Parent:=GroupBox1;
|
||||
Align:=alClient;
|
||||
Parent:=GroupBox1;
|
||||
end;
|
||||
|
||||
GroupBox3:=TGroupBox.Create(Self);
|
||||
with GroupBox3 do begin
|
||||
Name:='GroupBox3';
|
||||
Parent:=GroupBox2;
|
||||
Align:=alClient;
|
||||
Parent:=GroupBox2;
|
||||
end;
|
||||
SetBounds(100,50,300,250);
|
||||
end;
|
||||
|
||||
var Form1 : TForm1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user