Changeset 8 for os/trunk/Applications/TestApplication.pas
- Timestamp:
- Jun 2, 2013, 10:46:40 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
os/trunk/Applications/TestApplication.pas
r7 r8 12 12 Button: TButton; 13 13 Label1: TLabel; 14 Edit1: TEdit; 14 15 Timer1: TTimer; 15 16 procedure Run; override; … … 54 55 Button.Caption := 'Start'; 55 56 Button.OnClick := ButtonClick; 56 Form1.Controls.Add(Button);57 57 Label1 := TLabel.Create; 58 58 Label1.Parent := Form1; … … 61 61 Label1.Visible := True; 62 62 Label1.Caption := '0'; 63 Form1.Controls.Add(Label1); 63 Edit1 := TEdit.Create; 64 Edit1.Parent := Form2; 65 Edit1.Owner := Form2; 66 Edit1.Bounds := TRectangle.Create(60, 80, 60, 24); 67 Edit1.Visible := True; 68 Edit1.Text := 'Text'; 64 69 MainForm := Form1; 65 70 TScreen(Screen).Forms.Add(Form1);
Note:
See TracChangeset
for help on using the changeset viewer.