Changeset 24 for branches/overos
- Timestamp:
- Jan 2, 2019, 10:36:09 AM (6 years ago)
- Location:
- branches/overos
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/overos
- Property svn:ignore
-
old new 3 3 overos.lps 4 4 overos.res 5 heaptrclog.trc 6 overos.exe
-
- Property svn:ignore
-
branches/overos/UApplication.pas
r23 r24 42 42 if Message is TMessageWindow then 43 43 TWindow(Message.Handle).HandleMessage(Message); 44 Message.Free; 44 45 end; 45 46 end; -
branches/overos/UFormMain.lfm
r22 r24 7 7 ClientHeight = 523 8 8 ClientWidth = 758 9 DesignTimePPI = 128 9 DesignTimePPI = 120 10 OnClose = FormClose 10 11 OnResize = FormResize 11 12 OnShow = FormShow -
branches/overos/UFormMain.pas
r23 r24 17 17 Image1: TImage; 18 18 Timer1: TTimer; 19 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 19 20 procedure Image1MouseDown(Sender: TObject; Button: TControlsMouseButton; 20 21 Shift: TShiftState; X, Y: Integer); … … 98 99 end; 99 100 101 procedure TFormMain.FormClose(Sender: TObject; var CloseAction: TCloseAction); 102 begin 103 Timer1.Enabled := False; 104 App.Free; 105 System.Free; 106 end; 107 100 108 procedure TFormMain.Image1MouseMove(Sender: TObject; Shift: TShiftState; X, 101 109 Y: Integer); -
branches/overos/UWindow.pas
r23 r24 176 176 ButtonMaximize.Free; 177 177 ButtonMinimize.Free; 178 inherited Destroy;178 inherited; 179 179 end; 180 180 … … 457 457 I: Integer; 458 458 begin 459 for I := 0 to Windows.Count - 1do459 for I := Windows.Count - 1 downto 0 do 460 460 Windows[I].Free; 461 461 Windows.Free; -
branches/overos/overos.lpr
r22 r24 9 9 Interfaces, // this includes the LCL widgetset 10 10 Forms, UFormMain, UWindow, UMouse, USystem, UTypes, UControls, UGraphics, 11 UApplication 11 UApplication, SysUtils 12 12 { you can add units after this }; 13 13 14 14 {$R *.res} 15 15 16 {$if declared(UseHeapTrace)} 17 const 18 HeapTraceLog = 'heaptrclog.trc'; 19 {$ENDIF} 20 16 21 begin 22 {$if declared(UseHeapTrace)} 23 // Heap trace 24 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog); 25 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog); 26 {$ENDIF} 27 17 28 RequireDerivedFormResource:=True; 18 29 Application.Initialize;
Note:
See TracChangeset
for help on using the changeset viewer.