Changeset 3
- Timestamp:
- Apr 20, 2016, 9:25:55 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 79 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AcronymDecoder.lpi
r1 r3 69 69 </local> 70 70 </RunParams> 71 <RequiredPackages Count=" 2">71 <RequiredPackages Count="4"> 72 72 <Item1> 73 <PackageName Value="TemplateGenerics"/> 74 <DefaultFilename Value="Packages\TemplateGenerics\TemplateGenerics.lpk" Prefer="True"/> 75 </Item1> 76 <Item2> 77 <PackageName Value="Common"/> 78 <DefaultFilename Value="Packages\Common\Common.lpk" Prefer="True"/> 79 </Item2> 80 <Item3> 73 81 <PackageName Value="synapse"/> 74 82 <DefaultFilename Value="Packages\synapse\synapse.lpk" Prefer="True"/> 75 </Item 1>76 <Item 2>83 </Item3> 84 <Item4> 77 85 <PackageName Value="LCL"/> 78 </Item 2>86 </Item4> 79 87 </RequiredPackages> 80 88 <Units Count="4"> … … 129 137 <StackChecks Value="True"/> 130 138 </Checks> 131 <TargetCPU Value="i386"/>132 <TargetOS Value="win32"/>133 139 </CodeGeneration> 134 140 <Linking> -
trunk/AcronymDecoder.lpr
r1 r3 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, UFormMain, UAcronym, synapse, UFormImport 10 Forms, UFormMain, UAcronym, synapse, UFormImport, Common, TemplateGenerics 11 11 { you can add units after this }; 12 12 -
trunk/Packages/synapse/synapse.pas
r1 r3 3 3 } 4 4 5 unit synapse; 5 unit synapse; 6 6 7 {$warn 5023 off : no warning about unused units} 7 8 interface 8 9 9 10 uses 10 11 tlntsend, asn1util, blcksock, clamsend, dnssend, ftpsend, ftptsend, 11 12 httpsend, imapsend, ldapsend, mimeinln, mimemess, mimepart, nntpsend, 12 13 pingsend, pop3send, slogsend, smtpsend, snmpsend, sntpsend, synacode, … … 16 17 implementation 17 18 18 procedure Register; 19 procedure Register; 19 20 begin 20 end; 21 end; 21 22 22 23 initialization 23 RegisterPackage('synapse', @Register); 24 RegisterPackage('synapse', @Register); 24 25 end. -
trunk/UFormMain.lfm
r1 r3 4 4 Top = 386 5 5 Width = 631 6 Caption = ' HAF'6 Caption = 'Acronym Decoder' 7 7 ClientHeight = 446 8 8 ClientWidth = 631 … … 12 12 OnDestroy = FormDestroy 13 13 OnShow = FormShow 14 LCLVersion = '1. 6.0.4'14 LCLVersion = '1.7' 15 15 object ListViewAcronyms: TListView 16 16 Left = 8 … … 41 41 object EditSearch: TEdit 42 42 Left = 8 43 Height = 2843 Height = 34 44 44 Top = 8 45 45 Width = 611 … … 4370 4370 end 4371 4371 end 4372 object PersistentForm1: TPersistentForm 4373 MinVisiblePart = 50 4374 EntireVisible = False 4375 left = 304 4376 top = 128 4377 end 4372 4378 end -
trunk/UFormMain.pas
r2 r3 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, 9 ComCtrls, StdCtrls, ExtCtrls, ActnList, UAcronym, Contnrs; 9 ComCtrls, StdCtrls, ExtCtrls, ActnList, UAcronym, UPersistentForm, Contnrs, 10 URegistry, Registry; 10 11 11 12 type … … 23 24 MenuItem2: TMenuItem; 24 25 MenuItem3: TMenuItem; 26 PersistentForm1: TPersistentForm; 25 27 PopupMenu1: TPopupMenu; 26 28 TrayIcon1: TTrayIcon; … … 73 75 begin 74 76 AcronymDB.SaveToFile(DefaultFileName); 77 PersistentForm1.Save(Self); 75 78 end; 76 79 … … 103 106 104 107 procedure TFormMain.FormShow(Sender: TObject); 108 const 109 DefaultRegKey = '\Software\Acronym Decoder'; 105 110 begin 111 PersistentForm1.RegistryContext := RegContext(HKEY_CURRENT_USER, DefaultRegKey); 112 PersistentForm1.Load(Self); 106 113 if FileExists(DefaultFileName) then 107 114 AcronymDB.LoadFromFile(DefaultFileName);
Note:
See TracChangeset
for help on using the changeset viewer.