Changeset 56 for trunk/Forms
- Timestamp:
- Jul 26, 2016, 2:13:41 PM (8 years ago)
- Location:
- trunk/Forms
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormAbout.lfm
r50 r56 29 29 Align = alTop 30 30 BorderSpacing.Around = 20 31 Caption = 'Simple tool for quick search of meaning for various acronyms and abbreviations.'31 Caption = 'Simple tool for quick searching of meaning for various acronyms and abbreviations.' 32 32 ParentColor = False 33 33 WordWrap = True … … 73 73 EmailContact = 'robie@centrum.cz' 74 74 AppName = 'Acronym Decoder' 75 ReleaseDate = 425 6575 ReleaseDate = 42577 76 76 RegistryKey = '\Software\' 77 77 RegistryRoot = rrKeyCurrentUser -
trunk/Forms/UFormAbout.lrt
r28 r56 1 1 TFORMABOUT.CAPTION=About 2 2 TFORMABOUT.LABELAPPNAME.CAPTION=Acronym Decoder 3 TFORMABOUT.LABELDESCRIPTION.CAPTION=Simple tool for quick search of meaning for various acronyms and abbreviations.3 TFORMABOUT.LABELDESCRIPTION.CAPTION=Simple tool for quick searching of meaning for various acronyms and abbreviations. 4 4 TFORMABOUT.BUTTONCLOSE.CAPTION=Close 5 5 TFORMABOUT.LABELCONTENT.CAPTION= -
trunk/Forms/UFormImportSources.pas
r52 r56 162 162 begin 163 163 if Assigned(ListView1.Selected) then begin 164 FormMain.AcronymDb.AddedCount := 0; 164 165 JobProgressView1.AddJob(SProcessSelectedSource, ProcessImportJob); 165 166 JobProgressView1.Start; 166 ShowMessage(Format(SAddedCount, [TImportSource(ListView1.Selected.Data).ItemCount ]));167 ShowMessage(Format(SAddedCount, [TImportSource(ListView1.Selected.Data).ItemCount, FormMain.AcronymDb.AddedCount])); 167 168 end; 168 169 end; -
trunk/Forms/UFormMain.lfm
r55 r56 66 66 ViewStyle = vsReport 67 67 OnData = ListViewAcronymsData 68 OnResize = ListViewAcronymsResize 68 69 OnSelectItem = ListViewAcronymsSelectItem 69 70 end -
trunk/Forms/UFormMain.pas
r51 r56 110 110 procedure LastOpenedList1Change(Sender: TObject); 111 111 procedure ListViewAcronymsData(Sender: TObject; Item: TListItem); 112 procedure ListViewAcronymsResize(Sender: TObject); 112 113 procedure ListViewAcronymsSelectItem(Sender: TObject; Item: TListItem; 113 114 Selected: Boolean); … … 140 141 141 142 resourcestring 142 SAddedCount = 'Imported %d acronyms ';143 SAddedCount = 'Imported %d acronyms. Added %d new.'; 143 144 SProcessImportSources = 'Process import sources'; 144 145 … … 277 278 begin 278 279 ImportTotalItemCount := 0; 280 AcronymDb.AddedCount := 0; 279 281 JobProgressView1.AddJob(SProcessImportSources, ProcessImportsJob); 280 282 JobProgressView1.Start; 281 ShowMessage(Format(SAddedCount, [ImportTotalItemCount ]));283 ShowMessage(Format(SAddedCount, [ImportTotalItemCount, AcronymDb.AddedCount])); 282 284 UpdateAcronymsList; 283 285 UpdateInterface; … … 393 395 Item.SubItems.Add(Categories.GetString); 394 396 end; 397 end; 398 399 procedure TFormMain.ListViewAcronymsResize(Sender: TObject); 400 begin 401 ListViewFilter1.UpdateFromListView(ListViewAcronyms); 395 402 end; 396 403
Note:
See TracChangeset
for help on using the changeset viewer.