Changeset 24 for branches/Xvcl/Applications/TestApplication.pas
- Timestamp:
- May 8, 2013, 2:53:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Xvcl/Applications/TestApplication.pas
r23 r24 33 33 begin 34 34 Form1 := TForm.Create; 35 Form1.Bounds := TRectangle.Create(50, 50, 100, 100);35 Form1.Bounds := TRectangle.Create(50, 80, 200, 120); 36 36 Form1.Name := 'Form1'; 37 37 Form1.Caption := 'Test application'; 38 38 Form1.Screen := Screen; 39 39 Form2 := TForm.Create; 40 Form2.Bounds := TRectangle.Create( 250, 150, 200, 150);41 Form2.Name := 'Form 1';42 Form2.Caption := ' Test application';40 Form2.Bounds := TRectangle.Create(350, 150, 200, 150); 41 Form2.Name := 'Form2'; 42 Form2.Caption := 'Some form'; 43 43 Form2.Screen := Screen; 44 44 Button := TButton.Create; … … 51 51 Label1 := TLabel.Create; 52 52 Label1.Parent := Form1; 53 Label1.Bounds := TRectangle.Create( 50, 70, 60, 24);53 Label1.Bounds := TRectangle.Create(60, 80, 60, 24); 54 54 Label1.Visible := True; 55 55 Label1.Caption := '0'; 56 56 Form1.Controls.Add(Label1); 57 Form2.Controls.Add(Label1);58 57 TScreen(Screen).Forms.Add(Form1); 58 TScreen(Screen).Forms.Add(Form2); 59 59 TScreen(Screen).Paint; 60 60 end;
Note:
See TracChangeset
for help on using the changeset viewer.