- Timestamp:
- Nov 16, 2012, 1:26:29 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 84 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChronIS.lpi
r22 r23 73 73 </local> 74 74 </RunParams> 75 <RequiredPackages Count=" 8">75 <RequiredPackages Count="11"> 76 76 <Item1> 77 <PackageName Value="PrintPreview"/> 78 <DefaultFilename Value="Packages/PrintPreview/PrintPreview.lpk" Prefer="True"/> 79 </Item1> 80 <Item2> 81 <PackageName Value="PinConnection"/> 82 <DefaultFilename Value="Packages/PinConnection/PinConnection.lpk" Prefer="True"/> 83 </Item2> 84 <Item3> 85 <PackageName Value="CoolStreaming"/> 86 <DefaultFilename Value="Packages/CoolStreaming/CoolStreaming.lpk" Prefer="True"/> 87 </Item3> 88 <Item4> 77 89 <PackageName Value="TEditExtensions"/> 78 90 <DefaultFilename Value="Packages/TEditExtensions/TEditExtensions.lpk" Prefer="True"/> 79 </Item 1>80 <Item 2>91 </Item4> 92 <Item5> 81 93 <PackageName Value="synapse"/> 82 94 <DefaultFilename Value="Packages/synapse/synapse.lpk" Prefer="True"/> 83 </Item 2>84 <Item 3>95 </Item5> 96 <Item6> 85 97 <PackageName Value="ModularSystem"/> 86 98 <DefaultFilename Value="Packages/ModularSystem/ModularSystem.lpk" Prefer="True"/> 87 </Item 3>88 <Item 4>99 </Item6> 100 <Item7> 89 101 <PackageName Value="TemplateGenerics"/> 90 102 <DefaultFilename Value="Packages/TemplateGenerics/TemplateGenerics.lpk" Prefer="True"/> 91 </Item 4>92 <Item 5>103 </Item7> 104 <Item8> 93 105 <PackageName Value="CoolTranslator"/> 94 106 <DefaultFilename Value="Packages/CoolTranslator/CoolTranslator.lpk" Prefer="True"/> 95 </Item 5>96 <Item 6>107 </Item8> 108 <Item9> 97 109 <PackageName Value="Common"/> 98 110 <DefaultFilename Value="Packages/Common/Common.lpk" Prefer="True"/> 99 </Item 6>100 <Item 7>111 </Item9> 112 <Item10> 101 113 <PackageName Value="CoolWeb"/> 102 114 <DefaultFilename Value="Packages/CoolWeb/CoolWeb.lpk" Prefer="True"/> 103 </Item 7>104 <Item 8>115 </Item10> 116 <Item11> 105 117 <PackageName Value="LCL"/> 106 </Item 8>118 </Item11> 107 119 </RequiredPackages> 108 <Units Count="1 6">120 <Units Count="17"> 109 121 <Unit0> 110 122 <Filename Value="ChronIS.lpr"/> … … 213 225 <UnitName Value="UModuleChiyuAccessControlers"/> 214 226 </Unit15> 227 <Unit16> 228 <Filename Value="Modules/ChiyuAccessControlers/UTerminalBF630.pas"/> 229 <IsPartOfProject Value="True"/> 230 <UnitName Value="UTerminalBF630"/> 231 </Unit16> 215 232 </Units> 216 233 </ProjectOptions> -
trunk/ChronIS.lpr
r22 r23 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, UFormMain, UCore, UAttendance, CoolWeb, Common,10 Forms, UFormMain, UCore, CoolStreaming, UAttendance, CoolWeb, Common, 11 11 CoolTranslator, UFormSetting, SysUtils, UFormList, UFormEdit, UDataView, 12 URegistredModules, TemplateGenerics, synapse, TEditExtensions, 13 UFormConnection, UModuleAttendance, UDataModel, UFormVirtualTerminal, 14 UAccessControler, UModuleChiyuAccessControlers; 12 URegistredModules, TemplateGenerics, synapse, TEditExtensions, PinConnection, 13 PrintPreview, UFormConnection, UModuleAttendance, UDataModel, 14 UFormVirtualTerminal, UAccessControler, UModuleChiyuAccessControlers, 15 UTerminalBF630; 15 16 16 17 {$R *.res} -
trunk/Forms/UFormConnection.pas
r12 r23 44 44 EditHostName.Text := Database.HostName; 45 45 EditUserName.Text := Database.UserName; 46 EditPassword.Text := '';46 EditPassword.Text := Database.Password; 47 47 EditSchema.Text := Database.Database; 48 48 end; -
trunk/Forms/UFormList.lfm
r16 r23 134 134 Hint = 'Send to printer' 135 135 ImageIndex = 6 136 OnExecute = APrintExecute 136 137 end 137 138 object AExport: TAction … … 342 343 end 343 344 end 345 object PrintPreview1: TPrintPreview 346 Zoom = 1 347 left = 240 348 top = 112 349 end 344 350 end -
trunk/Forms/UFormList.pas
r20 r23 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, 9 9 ActnList, Menus, StdCtrls, ExtCtrls, SpecializedList, USqlDatabase, 10 UListViewSort, UDataView, URegistry ;10 UListViewSort, UDataView, URegistry, UPrintPreview; 11 11 12 12 type … … 61 61 Panel1: TPanel; 62 62 PopupMenu1: TPopupMenu; 63 PrintPreview1: TPrintPreview; 63 64 ToolBar1: TToolBar; 64 65 ToolButton1: TToolButton; … … 73 74 procedure ADuplicateExecute(Sender: TObject); 74 75 procedure AModifyExecute(Sender: TObject); 76 procedure APrintExecute(Sender: TObject); 75 77 procedure AReloadExecute(Sender: TObject); 76 78 procedure FormCreate(Sender: TObject); … … 171 173 end; 172 174 175 procedure TFormList.APrintExecute(Sender: TObject); 176 begin 177 PrintPreview1.Preview; 178 end; 179 173 180 procedure TFormList.AReloadExecute(Sender: TObject); 174 181 begin … … 277 284 Filter := Filter + ', `' + Name + '`'; 278 285 end; 279 Core.Database.Query(DbRows, 'SELECT ' + Filter + ' FROM ' + View.Name); 286 if Core.Database.Connected then 287 Core.Database.Query(DbRows, 'SELECT ' + Filter + ' FROM ' + View.Name); 280 288 281 289 ListView1.Items.Count := DbRows.Count; -
trunk/Forms/UFormMain.pas
r18 r23 156 156 begin 157 157 UpdateInterface; 158 AConnect.Execute; 158 159 end; 159 160 -
trunk/Languages/ChronIS.cs.po
r20 r23 542 542 msgstr "" 543 543 544 #: uterminalbf630.scommunicatiomtimeout 545 msgid "Communication timeout" 546 msgstr "" 547 -
trunk/Languages/ChronIS.po
r20 r23 520 520 msgstr "" 521 521 522 #: uterminalbf630.scommunicatiomtimeout 523 msgid "Communication timeout" 524 msgstr "" 525 -
trunk/Modules/ChiyuAccessControlers/UModuleChiyuAccessControlers.pas
r20 r23 6 6 7 7 uses 8 Classes, SysUtils, FileUtil, UModularSystem, UAccessControler ;8 Classes, SysUtils, FileUtil, UModularSystem, UAccessControler, UTerminalBF630; 9 9 10 10 type … … 14 14 public 15 15 { public declarations } 16 end;17 18 TAccessControlerBF630 = class(TAccessControler)19 20 16 end; 21 17 … … 28 24 procedure DoStop; override; 29 25 public 26 TerminalBF630: TTerminalBF630; 30 27 constructor Create(Owner: TComponent); override; 31 28 destructor Destroy; override; … … 47 44 begin 48 45 inherited DoStart; 46 TerminalBF630 := TTerminalBF630.Create; 49 47 end; 50 48 51 49 procedure TModuleChiyuAccessControlers.DoStop; 52 50 begin 51 FreeAndNil(TerminalBF630); 53 52 inherited DoStop; 54 53 end; -
trunk/UCore.pas
r19 r23 95 95 ModuleManager.Modules.EndUpdate; 96 96 end; 97 Connect;98 97 end; 99 98
Note:
See TracChangeset
for help on using the changeset viewer.