Changeset 9
- Timestamp:
- Apr 22, 2016, 8:35:20 AM (9 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 2 2 AcronymDecoder.exe 3 3 AcronymDecoder.lps 4 AcronymDecoder 5 heaptrclog.trc 6
-
- Property svn:ignore
-
trunk/AcronymDecoder.lpi
r5 r9 147 147 </CodeGeneration> 148 148 <Linking> 149 <Debugging> 150 <UseHeaptrc Value="True"/> 151 </Debugging> 149 152 <Options> 150 153 <Win32> … … 153 156 </Options> 154 157 </Linking> 158 <Other> 159 <CustomOptions Value="-dDEBUG"/> 160 </Other> 155 161 </CompilerOptions> 156 162 <Debugging> -
trunk/AcronymDecoder.lpr
r4 r9 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, UFormMain, UAcronym, synapse, UFormImport, Common, TemplateGenerics,10 Forms, UFormMain, UAcronym, synapse, UFormImport, Common, SysUtils, TemplateGenerics, 11 11 UFormAcronym 12 12 { you can add units after this }; … … 14 14 {$R *.res} 15 15 16 {$IFDEF DEBUG} 17 const 18 HeapTraceLog = 'heaptrclog.trc'; 19 {$ENDIF} 20 21 16 22 begin 17 Application.Title:='Acronym Decoder'; 18 RequireDerivedFormResource:=True; 23 {$IFDEF DEBUG} 24 // Heap trace 25 DeleteFile(ExtractFilePath(ParamStr(0)) + HeapTraceLog); 26 SetHeapTraceOutput(ExtractFilePath(ParamStr(0)) + HeapTraceLog); 27 {$ENDIF} 28 29 Application.Title := 'Acronym Decoder'; 30 RequireDerivedFormResource := True; 19 31 Application.Initialize; 20 32 Application.CreateForm(TFormMain, FormMain); -
trunk/Packages/Common/Common.pas
r5 r9 5 5 unit Common; 6 6 7 {$warn 5023 off : no warning about unused units} 7 8 interface 8 9 -
trunk/Packages/TemplateGenerics/TemplateGenerics.pas
r5 r9 5 5 unit TemplateGenerics; 6 6 7 {$warn 5023 off : no warning about unused units} 7 8 interface 8 9 -
trunk/Packages/synapse/synapse.pas
r5 r9 5 5 unit synapse; 6 6 7 {$warn 5023 off : no warning about unused units} 7 8 interface 8 9 -
trunk/UFormMain.lfm
r7 r9 5 5 Width = 631 6 6 Caption = 'Acronym Decoder' 7 ClientHeight = 4 217 ClientHeight = 414 8 8 ClientWidth = 631 9 9 Menu = MainMenu1 … … 13 13 OnDestroy = FormDestroy 14 14 OnShow = FormShow 15 LCLVersion = '1. 6.0.4'15 LCLVersion = '1.7' 16 16 object ListViewAcronyms: TListView 17 17 Left = 8 18 Height = 3 7218 Height = 365 19 19 Top = 40 20 20 Width = 613 … … 46 46 object EditSearch: TEdit 47 47 Left = 8 48 Height = 2848 Height = 34 49 49 Top = 8 50 50 Width = 611 -
trunk/UFormMain.pas
r8 r9 175 175 begin 176 176 OpenDialog1.DefaultExt := ProjectExt; 177 OpenDialog1.FileName := AcronymDb.FileName; 177 if Assigned(AcronymDb) then 178 OpenDialog1.FileName := AcronymDb.FileName; 178 179 if OpenDialog1.Execute then begin 180 AFileClose.Execute; 181 AFileNew.Execute; 179 182 AcronymDb.LoadFromFile(OpenDialog1.FileName); 180 183 LastOpenedList1.AddItem(OpenDialog1.FileName); … … 380 383 AFileSaveAs.Enabled := Assigned(AcronymDb); 381 384 EditSearch.Enabled := Assigned(AcronymDb); 385 AImport.Enabled := Assigned(AcronymDb); 382 386 383 387 Title := Application.Title;
Note:
See TracChangeset
for help on using the changeset viewer.