Changeset 66 for branches/Independent/Apps.pas
- Timestamp:
- Oct 10, 2024, 11:05:35 PM (11 days ago)
- Location:
- branches/Independent
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Independent
- Property svn:ignore
-
old new 3 3 Independent.lps 4 4 Independent.res 5 heaptrclog.trc
-
- Property svn:ignore
-
branches/Independent/Apps.pas
r65 r66 30 30 31 31 procedure TAppTest.Run(Context: TAppContext); 32 var 33 Handle: THandle; 32 34 begin 33 35 with Context.Api do begin … … 35 37 Sleep(OneSecond); 36 38 RunApp('Code'); 39 Handle := CreateWindow; 40 SetWindowName(Handle, 'New window'); 41 SetWindowRect(Handle, Bounds(100, 100, 400, 200)); 42 SetWindowVisible(Handle, True); 43 44 Handle := CreateWindow; 45 SetWindowName(Handle, 'Second window'); 46 SetWindowRect(Handle, Bounds(350, 150, 500, 300)); 47 SetWindowVisible(Handle, True); 37 48 end; 38 49 end;
Note:
See TracChangeset
for help on using the changeset viewer.