Changeset 31
- Timestamp:
- Nov 24, 2011, 10:03:48 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UApplicationInfo.pas
r29 r31 50 50 Name := 'ChronIS'; 51 51 Identification := 1; 52 ReleaseDate := EncodeDate(2011, 11, 2 3);52 ReleaseDate := EncodeDate(2011, 11, 24); 53 53 MajorVersion := 0; 54 54 MinorVersion := 1; -
trunk/Common/UPersistentForm.pas
r2 r31 32 32 try 33 33 RootKey := RegistryRootKey; 34 OpenKey 34 OpenKey(RegistryKey + '\Forms\' + Form.Name, True); 35 35 36 36 Form.Width := ReadIntegerWithDefault('Width', Form.Width); -
trunk/Forms/UItemAdd.pas
r22 r31 28 28 { private declarations } 29 29 public 30 SelectedObject: TChronisObject; 31 SelectedItemId: Integer; 30 32 Report: TReport; 31 33 end; … … 59 61 for I := 0 to Report.Columns.Count - 1 do 60 62 if not (TReportColumn(Report.Columns[I]).CustomType is TDataTypeRelationMany) then 61 if TReportColumn(Report.Columns[I]).ColumnName <> MainForm.SelectedObject.PrimaryKey then begin63 if TReportColumn(Report.Columns[I]).ColumnName <> SelectedObject.PrimaryKey then begin 62 64 DataType := TReportColumn(Report.Columns[I]).CustomType; 63 65 Data.Add(TReportColumn(Report.Columns[I]).ColumnName, 64 66 DataType.GetControlValue(TWinControl(TReportColumn(Report.Columns[I]).Control))); 65 67 end; 66 Database.Insert( MainForm.SelectedObject.Table, Data, MainForm.SelectedObject.Schema);68 Database.Insert(SelectedObject.Table, Data, SelectedObject.Schema); 67 69 finally 68 70 Data.Free; 69 71 end; 70 MainForm.LoadItemList;72 //MainForm.LoadItemList; 71 73 Close; 72 74 end; … … 82 84 Report := TReport.Create; 83 85 Report.Base := Core.System; 86 SelectedObject := TChronisObject.Create; 87 SelectedObject.Base := Core.System; 84 88 end; 85 89 … … 87 91 begin 88 92 Report.Free; 93 SelectedObject.Free; 89 94 end; 90 95 … … 113 118 Panel1.Controls[I].Free; 114 119 115 Report.Load( MainForm.SelectedObject, MainForm.SelectedObject.PrimaryKey + ' = ' +116 IntToStr( MainForm.SelectedItem));120 Report.Load(SelectedObject, SelectedObject.PrimaryKey + ' = ' + 121 IntToStr(SelectedItemId)); 117 122 118 123 // Load column names -
trunk/Forms/UItemEdit.lfm
r30 r31 131 131 Width = 67 132 132 Caption = 'Delete' 133 Enabled = False 133 134 OnClick = ButtonDeleteClick 134 135 TabOrder = 1 … … 140 141 Width = 64 141 142 Caption = 'View' 143 Enabled = False 142 144 OnClick = ButtonViewClick 143 145 TabOrder = 2 … … 149 151 Width = 62 150 152 Caption = 'Edit' 153 Enabled = False 151 154 OnClick = ButtonEditClick 152 155 TabOrder = 3 -
trunk/Forms/UItemEdit.pas
r30 r31 46 46 procedure TabControl1Change(Sender: TObject); 47 47 private 48 SelectedItem: Integer;49 48 SubListObject: TChronisObject; 50 49 TabObjectList: TListInteger; … … 52 51 procedure LoadSubList; 53 52 public 53 SelectedObject: TChronisObject; 54 SelectedItemId: Integer; 54 55 Report: TReport; 55 56 procedure BuildControls; … … 88 89 procedure TItemEditForm.ButtonAddClick(Sender: TObject); 89 90 begin 90 if Assigned(ListView1.Selected) then 91 ItemAddForm.Show; 91 ItemAddForm.Show; 92 92 end; 93 93 … … 99 99 with TReportLine(Report[Item.Index]) do begin 100 100 Item.Caption := Items[0]; 101 Item.Data := Pointer(Id); 101 102 for I := 1 to Items.Count - 1 do 102 103 if not TReportColumn(Report.Columns[I]).VirtualItem then … … 127 128 for I := 0 to Report.Columns.Count - 1 do 128 129 if not (TReportColumn(Report.Columns[I]).CustomType is TDataTypeRelationMany) then 129 if TReportColumn(Report.Columns[I]).ColumnName <> MainForm.SelectedObject.PrimaryKey then begin130 if TReportColumn(Report.Columns[I]).ColumnName <> SelectedObject.PrimaryKey then begin 130 131 DataType := TReportColumn(Report.Columns[I]).CustomType; 131 132 Data.Add(TReportColumn(Report.Columns[I]).ColumnName, 132 133 DataType.GetControlValue(TWinControl(TReportColumn(Report.Columns[I]).Control))); 133 134 end; 134 Database.Update( MainForm.SelectedObject.Table, Data,135 '`' + MainForm.SelectedObject.PrimaryKey + '` = ' + IntToStr(MainForm.SelectedItem), MainForm.SelectedObject.Schema);135 Database.Update(SelectedObject.Table, Data, 136 '`' + SelectedObject.PrimaryKey + '` = ' + IntToStr(SelectedItemId), SelectedObject.Schema); 136 137 finally 137 138 Data.Free; 138 139 end; 139 if ( MainForm.SelectedObject.Table = ObjectGroupTable) or140 ( MainForm.SelectedObject.Table = ObjectTable) then140 if (SelectedObject.Table = ObjectGroupTable) or 141 (SelectedObject.Table = ObjectTable) then 141 142 MainForm.LoadTree; 142 MainForm.LoadItemList;143 //MainForm.LoadItemList; 143 144 Close; 144 145 end; … … 166 167 TabDataTypeList.OwnsObjects := False; 167 168 TabControl1.Tabs.Clear; 169 SelectedObject := TChronisObject.Create; 170 SelectedObject.Base := Core.System; 168 171 end; 169 172 … … 174 177 TabObjectList.Free; 175 178 TabDataTypeList.Free; 179 SelectedObject.Free; 176 180 end; 177 181 … … 197 201 LastTop := 8; 198 202 Column := 0; 199 Report.Load( MainForm.SelectedObject, MainForm.SelectedObject.PrimaryKey + ' = ' +200 IntToStr( MainForm.SelectedItem));203 Report.Load(SelectedObject, SelectedObject.PrimaryKey + ' = ' + 204 IntToStr(SelectedItemId)); 201 205 202 206 // Clear previous controls on panel … … 215 219 TabControl1.Tabs.Add(TReportColumn(Report.Columns[I]).Caption); 216 220 TabDataTypeList.Add(DataType); 217 TabObjectList.Add( MainForm.SelectedItem);221 TabObjectList.Add(SelectedItemId); 218 222 end else begin 219 223 NewControl := TLabel.Create(Panel1); … … 270 274 Selected: Boolean); 271 275 begin 272 if Assigned(ListView1.Selected) then273 SelectedItem := TReportLine(Report[ListView1.Selected.Index]).Id274 else SelectedItem := 0;275 276 276 ButtonDelete.Enabled := Assigned(ListView1.Selected); 277 277 ButtonView.Enabled := Assigned(ListView1.Selected); -
trunk/Forms/UItemView.pas
r30 r31 40 40 { private declarations } 41 41 public 42 SelectedObject: TChronisObject; 43 SelectedItemId: Integer; 42 44 Report: TReport; 43 45 procedure BuildControls; … … 72 74 TabDataTypeList.OwnsObjects := False; 73 75 TabControl1.Tabs.Clear; 76 SelectedObject := TChronisObject.Create; 77 SelectedObject.Base := Core.System; 74 78 end; 75 79 … … 80 84 TabObjectList.Free; 81 85 TabDataTypeList.Free; 86 SelectedObject.Free; 82 87 end; 83 88 … … 98 103 99 104 procedure TItemViewForm.ButtonEditClick(Sender: TObject); 105 var 106 NewItemEditForm: TItemEditForm; 100 107 begin 101 108 Close; 102 ItemEditForm.Show; 109 NewItemEditForm := TItemEditForm.Create(nil); 110 NewItemEditForm.SelectedObject.Assign(SelectedObject); 111 NewItemEditForm.SelectedItemId := SelectedItemId; 112 MainForm.AddTabForm(NewItemEditForm); 103 113 end; 104 114 … … 135 145 LastTop := 8; 136 146 Column := 0; 137 Report.Load( MainForm.SelectedObject, MainForm.SelectedObject.PrimaryKey + ' = ' +138 IntToStr( MainForm.SelectedItem));147 Report.Load(SelectedObject, SelectedObject.PrimaryKey + ' = ' + 148 IntToStr(SelectedItemId)); 139 149 for I := PanelControls.ControlCount - 1 downto 0 do 140 150 PanelControls.Controls[I].Free; … … 152 162 TabControl1.Tabs.Add(TReportColumn(Report.Columns[I]).Caption); 153 163 TabDataTypeList.Add(DataType); 154 TabObjectList.Add( MainForm.SelectedItem);164 TabObjectList.Add(SelectedItemId); 155 165 end else begin 156 166 NewControl := TLabel.Create(PanelControls); -
trunk/Forms/UMainForm.lfm
r30 r31 180 180 TabOrder = 0 181 181 OnChange = TreeView1Change 182 OnDblClick = TreeView1DblClick 182 183 Options = [tvoAutoItemHeight, tvoHideSelection, tvoKeepCollapsedNodes, tvoReadOnly, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips, tvoThemedDraw] 183 184 end … … 193 194 ClientWidth = 451 194 195 TabOrder = 1 195 object Label2: TLabel 196 Left = 2 197 Height = 14 198 Top = 4 199 Width = 43 200 Caption = 'Reports:' 201 ParentColor = False 202 end 203 object ListView1: TListView 204 Left = 2 205 Height = 371 206 Top = 19 207 Width = 447 208 Anchors = [akTop, akLeft, akRight, akBottom] 209 Columns = <> 210 OwnerData = True 211 PopupMenu = PopupMenuItem 212 ReadOnly = True 213 RowSelect = True 196 object PageControl1: TPageControl 197 Left = 0 198 Height = 427 199 Top = 0 200 Width = 451 201 Align = alClient 214 202 TabOrder = 0 215 ViewStyle = vsReport216 OnData = ListView1Data217 OnDblClick = ListView1DblClick218 OnKeyPress = ListView1KeyPress219 OnResize = ListView1Resize220 OnSelectItem = ListView1SelectItem221 end222 object ButtonAdd: TButton223 Left = 3224 Height = 25225 Top = 398226 Width = 75227 Action = AItemAdd228 Anchors = [akLeft, akBottom]229 TabOrder = 1230 end231 object ButtonDelete: TButton232 Left = 83233 Height = 25234 Top = 398235 Width = 75236 Action = AItemDelete237 Anchors = [akLeft, akBottom]238 TabOrder = 2239 end240 object ButtonView: TButton241 Left = 163242 Height = 25243 Top = 398244 Width = 75245 Action = AItemView246 Anchors = [akLeft, akBottom]247 TabOrder = 3248 end249 object ButtonEdit: TButton250 Left = 243251 Height = 25252 Top = 398253 Width = 75254 Action = AItemEdit255 Anchors = [akLeft, akBottom]256 TabOrder = 4257 203 end 258 204 end … … 267 213 left = 360 268 214 top = 120 269 object AItemDelete: TAction270 Category = 'Item'271 Caption = 'Delete'272 OnExecute = AItemDeleteExecute273 ShortCut = 16452274 end275 object AItemAdd: TAction276 Category = 'Item'277 Caption = 'Add'278 OnExecute = AItemAddExecute279 ShortCut = 16449280 end281 object AItemEdit: TAction282 Category = 'Item'283 Caption = 'Edit'284 OnExecute = AItemEditExecute285 ShortCut = 16453286 end287 object AItemView: TAction288 Category = 'Item'289 Caption = 'View'290 OnExecute = AItemViewExecute291 ShortCut = 16470292 end293 215 object AObjectGroupDelete: TAction 294 216 Category = 'ObjectGroup' … … 356 278 top = 120 357 279 object MenuItem1: TMenuItem 358 Action = AItemView280 Caption = 'View' 359 281 Default = True 360 OnClick = AItemViewExecute282 ShortCut = 16470 361 283 end 362 284 object MenuItem4: TMenuItem 363 Action = AItemEdit364 OnClick = AItemEditExecute285 Caption = 'Edit' 286 ShortCut = 16453 365 287 end 366 288 object MenuItem3: TMenuItem 367 Action = AItemDelete 289 Caption = 'Delete' 290 ShortCut = 16452 368 291 end 369 292 object MenuItem2: TMenuItem 370 Action = AItemAdd371 OnClick = AItemAddExecute293 Caption = 'Add' 294 ShortCut = 16449 372 295 end 373 296 end -
trunk/Forms/UMainForm.lrt
r30 r31 1 1 TMAINFORM.CAPTION=ChronIS 2 2 TMAINFORM.LABEL1.CAPTION=Groups: 3 TMAINFORM.LABEL2.CAPTION=Reports:4 TMAINFORM.AITEMDELETE.CAPTION=Delete5 TMAINFORM.AITEMADD.CAPTION=Add6 TMAINFORM.AITEMEDIT.CAPTION=Edit7 TMAINFORM.AITEMVIEW.CAPTION=View8 3 TMAINFORM.AOBJECTGROUPDELETE.CAPTION=Delete 9 4 TMAINFORM.AOBJECTGROUPADDGROUP.CAPTION=Add group … … 21 16 TMAINFORM.AABOUT.CAPTION=About 22 17 TMAINFORM.ADISCONNECT.CAPTION=Disconnect 18 TMAINFORM.MENUITEM1.CAPTION=View 19 TMAINFORM.MENUITEM4.CAPTION=Edit 20 TMAINFORM.MENUITEM3.CAPTION=Delete 21 TMAINFORM.MENUITEM2.CAPTION=Add 23 22 TMAINFORM.MENUITEM13.CAPTION=Server 24 23 TMAINFORM.MENUITEM11.CAPTION=View -
trunk/Forms/UMainForm.pas
r30 r31 29 29 AObjectGroupAddGroup: TAction; 30 30 AObjectGroupDelete: TAction; 31 AItemView: TAction;32 AItemEdit: TAction;33 AItemAdd: TAction;34 AItemDelete: TAction;35 31 ActionListItem: TActionList; 36 ButtonEdit: TButton;37 ButtonView: TButton;38 ButtonAdd: TButton;39 ButtonDelete: TButton;40 32 ImageListActions: TImageList; 41 33 Label1: TLabel; 42 Label2: TLabel;43 ListView1: TListView;44 34 MainMenu1: TMainMenu; 45 35 MenuItem1: TMenuItem; … … 64 54 MenuItem8: TMenuItem; 65 55 MenuItem9: TMenuItem; 56 PageControl1: TPageControl; 66 57 Panel1: TPanel; 67 58 Panel2: TPanel; … … 76 67 procedure AExitExecute(Sender: TObject); 77 68 procedure AImportStructureExecute(Sender: TObject); 78 procedure AItemAddExecute(Sender: TObject);79 procedure AItemDeleteExecute(Sender: TObject);80 procedure AItemEditExecute(Sender: TObject);81 procedure AItemViewExecute(Sender: TObject);82 69 procedure AObjectEditExecute(Sender: TObject); 83 70 procedure AObjectGroupAddGroupExecute(Sender: TObject); … … 85 72 procedure ASettingsExecute(Sender: TObject); 86 73 procedure AToggleFullscreenExecute(Sender: TObject); 87 procedure ButtonAddClick(Sender: TObject);88 74 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 89 75 procedure FormCreate(Sender: TObject); 90 76 procedure FormDestroy(Sender: TObject); 91 77 procedure FormShow(Sender: TObject); 92 procedure ListView1Data(Sender: TObject; Item: TListItem);93 procedure ListView1DblClick(Sender: TObject);94 procedure ListView1KeyPress(Sender: TObject; var Key: char);95 procedure ListView1Resize(Sender: TObject);96 procedure ListView1SelectItem(Sender: TObject; Item: TListItem;97 Selected: Boolean);98 78 procedure MenuItem17Click(Sender: TObject); 99 79 procedure MenuItem19Click(Sender: TObject); 100 80 procedure TreeView1Change(Sender: TObject; Node: TTreeNode); 81 procedure TreeView1DblClick(Sender: TObject); 101 82 private 102 83 OriginalBounds: TRect; … … 106 87 procedure SaveToRegistry; 107 88 public 108 SelectedObjectId: Integer;109 SelectedObject: TChronisObject;110 SelectedItem: Integer;111 89 PersistentForm: TPersistentForm; 112 90 TreeState: TTreeState; 113 91 Report: TReport; 92 TabForms: TListObject; // TListObject<TForm> 114 93 procedure UpdateInterface; 115 94 procedure LoadTree; 116 procedure LoadItemList;117 end; 95 procedure AddTabForm(Form: TForm); 96 end; 118 97 119 98 var … … 132 111 uses 133 112 UItemView, UItemEdit, UItemAdd, ULoginForm, USettingForm, UApplicationInfo, 134 UCore, UImportStructureForm, UAboutForm, ULoginProfileForm, UChronisClientDirect; 113 UCore, UImportStructureForm, UAboutForm, ULoginProfileForm, UChronisClientDirect, 114 UItemList; 135 115 136 116 {$R *.lfm} … … 175 155 procedure TMainForm.FormCreate(Sender: TObject); 176 156 begin 157 TabForms := TListObject.Create; 158 TabForms.OwnsObjects := False; 177 159 TreeState := TTreeState.Create; 178 160 Report := TReport.Create; 179 161 Report.Base := Core.System; 180 SelectedObject := TChronisObject.Create;181 SelectedObject.Base := Core.System;182 162 PersistentForm := TPersistentForm.Create; 183 163 PersistentForm.RegistryKey := Core.RegistryKey; … … 189 169 TreeState.Free; 190 170 PersistentForm.Free; 171 TabForms.Free; 191 172 end; 192 173 193 174 procedure TMainForm.FormClose(Sender: TObject; var CloseAction: TCloseAction); 194 175 begin 176 ADisconnect.Execute; 195 177 PersistentForm.Save(Self); 196 178 SaveToRegistry; 197 179 end; 198 180 199 procedure TMainForm.ButtonAddClick(Sender: TObject);200 begin201 202 end;203 204 procedure TMainForm.AItemViewExecute(Sender: TObject);205 begin206 if Assigned(ListView1.Selected) then207 ItemViewForm.Show;208 end;209 210 181 procedure TMainForm.AObjectEditExecute(Sender: TObject); 211 182 begin 212 if Assigned(TreeView1.Selected) then begin183 (* if Assigned(TreeView1.Selected) then begin 213 184 SelectedObjectId := 9; 214 185 SelectedItem := Integer(TreeView1.Selected.Data); 215 186 ItemEditForm.Show; 216 end; 187 end;*) 217 188 end; 218 189 … … 224 195 procedure TMainForm.AObjectGroupEditExecute(Sender: TObject); 225 196 begin 226 if Assigned(TreeView1.Selected) then begin197 (* if Assigned(TreeView1.Selected) then begin 227 198 SelectedObjectId := 8; 228 199 SelectedItem := Integer(TreeView1.Selected.Data); 229 200 ItemEditForm.Show; 230 end; 201 end;*) 231 202 end; 232 203 … … 263 234 end; 264 235 265 procedure TMainForm.AItemEditExecute(Sender: TObject);266 begin267 ItemEditForm.Show;268 end;269 270 236 procedure TMainForm.AExitExecute(Sender: TObject); 271 237 begin … … 276 242 begin 277 243 ImportStructureForm.ShowModal; 278 end;279 280 procedure TMainForm.AItemAddExecute(Sender: TObject);281 begin282 ItemAddForm.ShowModal;283 end;284 285 procedure TMainForm.AItemDeleteExecute(Sender: TObject);286 begin287 if MessageDlg(SItemDeletion, SReallyWantToDelete, mtConfirmation, [mbYes, mbNo], 0) = mrYes then begin288 289 end;290 244 end; 291 245 … … 315 269 procedure TMainForm.ADisconnectExecute(Sender: TObject); 316 270 begin 317 Core.System.Database.Disconnect; 318 TreeView1.Items.Clear; 319 ListView1.Items.Clear; 320 Core.System.Types.Clear; 321 FreeAndNil(Core.Client); 271 if Core.System.Database.Connected then begin 272 Core.System.Database.Disconnect; 273 TreeView1.Items.Clear; 274 Core.System.Types.Clear; 275 FreeAndNil(Core.Client); 276 end; 322 277 end; 323 278 324 279 procedure TMainForm.AAboutExecute(Sender: TObject); 325 280 begin 326 AboutForm.ShowModal; 281 try 282 AboutForm := TAboutForm.Create(nil); 283 AboutForm.ShowModal; 284 finally 285 FreeAndNil(AboutForm); 286 end; 327 287 end; 328 288 … … 332 292 LoadFromRegistry; 333 293 AConnect.Execute; 334 end;335 336 procedure TMainForm.ListView1Data(Sender: TObject; Item: TListItem);337 var338 I: Integer;339 begin340 if Item.Index < Report.Count then341 with TReportLine(Report[Item.Index]) do begin342 Item.Caption := Items[0];343 for I := 1 to Report.Columns.Count - 1 do344 if not TReportColumn(Report.Columns[I]).VirtualItem then begin345 Item.SubItems.Add(Items[I]);346 end;347 end;348 end;349 350 procedure TMainForm.ListView1DblClick(Sender: TObject);351 begin352 AItemViewExecute(Self);353 end;354 355 procedure TMainForm.ListView1KeyPress(Sender: TObject; var Key: char);356 begin357 if Key = #13 then AItemViewExecute(Self);358 end;359 360 procedure TMainForm.ListView1Resize(Sender: TObject);361 var362 I: Integer;363 begin364 for I := 0 to ListView1.Columns.Count - 1 do365 ListView1.Columns[I].Width := ListView1.Width div ListView1.Columns.Count;366 end;367 368 procedure TMainForm.ListView1SelectItem(Sender: TObject; Item: TListItem;369 Selected: Boolean);370 begin371 if Assigned(ListView1.Selected) then372 SelectedItem := TReportLine(Report[ListView1.Selected.Index]).Id373 else SelectedItem := 0;374 375 ButtonDelete.Enabled := Assigned(ListView1.Selected);376 ButtonView.Enabled := Assigned(ListView1.Selected);377 ButtonEdit.Enabled := Assigned(ListView1.Selected);378 294 end; 379 295 … … 395 311 if TreeView1.Selected.ImageIndex = 0 then begin 396 312 TreeView1.PopupMenu := PopupMenuObjectGroup; 397 ListView1.Visible := False;313 PageControl1.Visible := False; 398 314 end; 399 315 if TreeView1.Selected.ImageIndex = 1 then begin 400 316 TreeView1.PopupMenu := PopupMenuObject; 401 LoadItemList; 402 end; 317 //LoadItemList; 318 end; 319 end; 320 end; 321 322 procedure TMainForm.TreeView1DblClick(Sender: TObject); 323 var 324 NewItemListForm: TItemListForm; 325 begin 326 if Assigned(TreeView1.Selected) then begin 327 NewItemListForm := TItemListForm.Create(Self); 328 NewItemListForm.SelectedObject.Id := Integer(TreeView1.Selected.Data); 329 AddTabForm(NewItemListForm); 403 330 end; 404 331 end; … … 448 375 end; 449 376 450 procedure TMainForm. LoadItemList;377 procedure TMainForm.AddTabForm(Form: TForm); 451 378 var 452 NewColumn: TListColumn; 453 I: Integer; 454 begin 455 SelectedObjectId := 0; 456 if Assigned(TreeView1.Selected) then 457 with ListView1 do begin 458 Visible := True; 459 SelectedObject.Load(Integer(TreeView1.Selected.Data)); 460 Report.Load(SelectedObject); 461 462 Report.FillListColumns(Columns); 463 Items.Count := Report.Count; 464 Refresh; 465 end; 466 ListView1Resize(Self); 467 ListView1SelectItem(Self, nil, False); 379 NewTabSheet: TTabSheet; 380 begin 381 TabForms.Add(Form); 382 NewTabSheet := PageControl1.AddTabSheet; 383 NewTabSheet.DockSite := True; 384 NewTabSheet.UseDockManager := True; 385 NewTabSheet.Caption := Form.Caption; 386 Form.DragKind := dkDock; 387 Form.DragMode := dmAutomatic; 388 Form.Show; 389 Form.ManualDock(NewTabSheet); 390 PageControl1.TabIndex := PageControl1.PageCount - 1; 468 391 end; 469 392 -
trunk/Languages/chronis.cs.po
r30 r31 98 98 msgstr "Upravit položku" 99 99 100 #: TITEMLISTFORM.ACLOSE.CAPTION 101 msgctxt "TITEMLISTFORM.ACLOSE.CAPTION" 102 msgid "Close" 103 msgstr "Zavřít" 104 105 #: TITEMLISTFORM.AITEMADD.CAPTION 106 msgctxt "TITEMLISTFORM.AITEMADD.CAPTION" 107 msgid "Add" 108 msgstr "Přidat" 109 110 #: TITEMLISTFORM.AITEMDELETE.CAPTION 111 msgctxt "TITEMLISTFORM.AITEMDELETE.CAPTION" 112 msgid "Delete" 113 msgstr "Odstranit" 114 115 #: TITEMLISTFORM.AITEMEDIT.CAPTION 116 msgctxt "TITEMLISTFORM.AITEMEDIT.CAPTION" 117 msgid "Edit" 118 msgstr "Upravit" 119 120 #: TITEMLISTFORM.AITEMVIEW.CAPTION 121 msgctxt "TITEMLISTFORM.AITEMVIEW.CAPTION" 122 msgid "View" 123 msgstr "Zobrazení" 124 125 #: TITEMLISTFORM.CAPTION 126 msgid "Item list" 127 msgstr "" 128 100 129 #: TITEMSELECTFORM.BUTTONCANCEL.CAPTION 101 130 msgctxt "TITEMSELECTFORM.BUTTONCANCEL.CAPTION" … … 234 263 msgstr "Importovat strukturu..." 235 264 236 #: TMAINFORM.AITEMADD.CAPTION237 #| msgid "Přidat"238 msgctxt "TMAINFORM.AITEMADD.CAPTION"239 msgid "Add"240 msgstr "Přidat"241 242 #: TMAINFORM.AITEMDELETE.CAPTION243 #| msgid "Smazat"244 msgctxt "TMAINFORM.AITEMDELETE.CAPTION"245 msgid "Delete"246 msgstr "Smazat"247 248 #: TMAINFORM.AITEMEDIT.CAPTION249 #| msgid "Upravit"250 msgctxt "TMAINFORM.AITEMEDIT.CAPTION"251 msgid "Edit"252 msgstr "Upravit"253 254 #: TMAINFORM.AITEMVIEW.CAPTION255 #| msgid "Zobrazit"256 msgctxt "TMAINFORM.AITEMVIEW.CAPTION"257 msgid "View"258 msgstr "Zobrazit"259 260 265 #: TMAINFORM.AOBJECTDELETE.CAPTION 261 266 #| msgid "Odstranit" … … 317 322 msgstr "Skupiny:" 318 323 319 #: TMAINFORM. LABEL2.CAPTION320 #| msgid "Výpisy:"321 msgid " Reports:"322 msgstr " Výpisy:"324 #: TMAINFORM.MENUITEM1.CAPTION 325 msgctxt "TMAINFORM.MENUITEM1.CAPTION" 326 msgid "View" 327 msgstr "Zobrazení" 323 328 324 329 #: TMAINFORM.MENUITEM11.CAPTION … … 339 344 msgstr "Administrace" 340 345 346 #: TMAINFORM.MENUITEM2.CAPTION 347 msgctxt "TMAINFORM.MENUITEM2.CAPTION" 348 msgid "Add" 349 msgstr "Přidat" 350 351 #: TMAINFORM.MENUITEM3.CAPTION 352 msgctxt "TMAINFORM.MENUITEM3.CAPTION" 353 msgid "Delete" 354 msgstr "Smazat" 355 356 #: TMAINFORM.MENUITEM4.CAPTION 357 msgctxt "TMAINFORM.MENUITEM4.CAPTION" 358 msgid "Edit" 359 msgstr "Upravit" 360 341 361 #: TSETTINGFORM.BUTTONCANCEL.CAPTION 342 362 msgctxt "TSETTINGFORM.BUTTONCANCEL.CAPTION" -
trunk/Languages/chronis.po
r30 r31 86 86 msgstr "" 87 87 88 #: TITEMLISTFORM.ACLOSE.CAPTION 89 msgctxt "TITEMLISTFORM.ACLOSE.CAPTION" 90 msgid "Close" 91 msgstr "" 92 93 #: TITEMLISTFORM.AITEMADD.CAPTION 94 msgctxt "TITEMLISTFORM.AITEMADD.CAPTION" 95 msgid "Add" 96 msgstr "" 97 98 #: TITEMLISTFORM.AITEMDELETE.CAPTION 99 msgctxt "TITEMLISTFORM.AITEMDELETE.CAPTION" 100 msgid "Delete" 101 msgstr "" 102 103 #: TITEMLISTFORM.AITEMEDIT.CAPTION 104 msgctxt "TITEMLISTFORM.AITEMEDIT.CAPTION" 105 msgid "Edit" 106 msgstr "" 107 108 #: TITEMLISTFORM.AITEMVIEW.CAPTION 109 msgctxt "TITEMLISTFORM.AITEMVIEW.CAPTION" 110 msgid "View" 111 msgstr "" 112 113 #: TITEMLISTFORM.CAPTION 114 msgid "Item list" 115 msgstr "" 116 88 117 #: TITEMSELECTFORM.BUTTONCANCEL.CAPTION 89 118 msgctxt "TITEMSELECTFORM.BUTTONCANCEL.CAPTION" … … 220 249 msgstr "" 221 250 222 #: TMAINFORM.AITEMADD.CAPTION223 msgctxt "TMAINFORM.AITEMADD.CAPTION"224 msgid "Add"225 msgstr ""226 227 #: TMAINFORM.AITEMDELETE.CAPTION228 msgctxt "TMAINFORM.AITEMDELETE.CAPTION"229 msgid "Delete"230 msgstr ""231 232 #: TMAINFORM.AITEMEDIT.CAPTION233 msgctxt "TMAINFORM.AITEMEDIT.CAPTION"234 msgid "Edit"235 msgstr ""236 237 #: TMAINFORM.AITEMVIEW.CAPTION238 msgctxt "TMAINFORM.AITEMVIEW.CAPTION"239 msgid "View"240 msgstr ""241 242 251 #: TMAINFORM.AOBJECTDELETE.CAPTION 243 252 msgctxt "TMAINFORM.AOBJECTDELETE.CAPTION" … … 291 300 msgstr "" 292 301 293 #: TMAINFORM.LABEL2.CAPTION 294 msgid "Reports:" 302 #: TMAINFORM.MENUITEM1.CAPTION 303 msgctxt "TMAINFORM.MENUITEM1.CAPTION" 304 msgid "View" 295 305 msgstr "" 296 306 … … 312 322 msgstr "" 313 323 324 #: TMAINFORM.MENUITEM2.CAPTION 325 msgctxt "TMAINFORM.MENUITEM2.CAPTION" 326 msgid "Add" 327 msgstr "" 328 329 #: TMAINFORM.MENUITEM3.CAPTION 330 msgctxt "TMAINFORM.MENUITEM3.CAPTION" 331 msgid "Delete" 332 msgstr "" 333 334 #: TMAINFORM.MENUITEM4.CAPTION 335 msgctxt "TMAINFORM.MENUITEM4.CAPTION" 336 msgid "Edit" 337 msgstr "" 338 314 339 #: TSETTINGFORM.BUTTONCANCEL.CAPTION 315 340 msgctxt "TSETTINGFORM.BUTTONCANCEL.CAPTION" -
trunk/USystem.pas
r29 r31 82 82 Base: TChronisBase; 83 83 procedure Load(ObjectId: Integer); 84 procedure Assign(Source: TChronisObject); 84 85 end; 85 86 … … 719 720 end; 720 721 722 procedure TChronisObject.Assign(Source: TChronisObject); 723 begin 724 Id := Source.Id; 725 Table := Source.Table; 726 Schema := Source.Schema; 727 Name := Source.Name; 728 Base := Source.Base; 729 GroupId := Source.GroupId; 730 PrimaryKey := Source.PrimaryKey; 731 end; 732 721 733 end. 722 734 -
trunk/chronis.lpi
r30 r31 105 105 </Item6> 106 106 </RequiredPackages> 107 <Units Count="5 4">107 <Units Count="56"> 108 108 <Unit0> 109 109 <Filename Value="chronis.lpr"/> 110 110 <IsPartOfProject Value="True"/> 111 111 <UnitName Value="chronis"/> 112 <EditorIndex Value="8"/> 113 <WindowIndex Value="0"/> 114 <TopLine Value="14"/> 115 <CursorPos X="1" Y="24"/> 112 <WindowIndex Value="0"/> 113 <TopLine Value="2"/> 114 <CursorPos X="20" Y="17"/> 116 115 <UsageCount Value="274"/> 117 <Loaded Value="True"/>118 116 <DefaultSyntaxHighlighter Value="Delphi"/> 119 117 </Unit0> … … 124 122 <TopLine Value="330"/> 125 123 <CursorPos X="1" Y="347"/> 126 <UsageCount Value="2 7"/>124 <UsageCount Value="26"/> 127 125 <DefaultSyntaxHighlighter Value="Delphi"/> 128 126 </Unit1> … … 136 134 <TopLine Value="118"/> 137 135 <CursorPos X="25" Y="144"/> 138 <UsageCount Value="8 1"/>136 <UsageCount Value="80"/> 139 137 <DefaultSyntaxHighlighter Value="Delphi"/> 140 138 </Unit2> … … 148 146 <TopLine Value="1"/> 149 147 <CursorPos X="24" Y="14"/> 150 <UsageCount Value="8 1"/>148 <UsageCount Value="80"/> 151 149 <DefaultSyntaxHighlighter Value="Delphi"/> 152 150 </Unit3> … … 155 153 <IsPartOfProject Value="True"/> 156 154 <UnitName Value="UPersistentForm"/> 157 <WindowIndex Value="0"/> 158 <TopLine Value="55"/> 159 <CursorPos X="3" Y="84"/> 155 <IsVisibleTab Value="True"/> 156 <EditorIndex Value="5"/> 157 <WindowIndex Value="0"/> 158 <TopLine Value="21"/> 159 <CursorPos X="14" Y="34"/> 160 160 <UsageCount Value="264"/> 161 <Loaded Value="True"/> 161 162 <DefaultSyntaxHighlighter Value="Delphi"/> 162 163 </Unit4> … … 167 168 <TopLine Value="58"/> 168 169 <CursorPos X="73" Y="232"/> 169 <UsageCount Value="24 7"/>170 <UsageCount Value="246"/> 170 171 <DefaultSyntaxHighlighter Value="Delphi"/> 171 172 </Unit5> … … 188 189 <EditorIndex Value="0"/> 189 190 <WindowIndex Value="0"/> 190 <TopLine Value=" 99"/>191 <CursorPos X=" 1" Y="101"/>191 <TopLine Value="104"/> 192 <CursorPos X="20" Y="112"/> 192 193 <UsageCount Value="327"/> 193 194 <Loaded Value="True"/> … … 201 202 <ResourceBaseClass Value="Form"/> 202 203 <UnitName Value="UItemEdit"/> 203 <IsVisibleTab Value="True"/>204 204 <EditorIndex Value="1"/> 205 205 <WindowIndex Value="0"/> 206 <TopLine Value="2 63"/>207 <CursorPos X=" 9" Y="278"/>206 <TopLine Value="27"/> 207 <CursorPos X="15" Y="40"/> 208 208 <UsageCount Value="318"/> 209 209 <Loaded Value="True"/> … … 218 218 <ResourceBaseClass Value="Form"/> 219 219 <UnitName Value="ULoginForm"/> 220 <EditorIndex Value=" 7"/>220 <EditorIndex Value="6"/> 221 221 <WindowIndex Value="0"/> 222 222 <TopLine Value="43"/> … … 234 234 <ResourceBaseClass Value="Form"/> 235 235 <UnitName Value="UMainForm"/> 236 <EditorIndex Value=" 6"/>237 <WindowIndex Value="0"/> 238 <TopLine Value=" 204"/>239 <CursorPos X=" 1" Y="208"/>236 <EditorIndex Value="3"/> 237 <WindowIndex Value="0"/> 238 <TopLine Value="369"/> 239 <CursorPos X="21" Y="389"/> 240 240 <UsageCount Value="317"/> 241 241 <Loaded Value="True"/> … … 259 259 <ResourceBaseClass Value="Form"/> 260 260 <UnitName Value="UItemAdd"/> 261 <EditorIndex Value=" 5"/>262 <WindowIndex Value="0"/> 263 <TopLine Value="1 24"/>264 <CursorPos X=" 8" Y="142"/>261 <EditorIndex Value="2"/> 262 <WindowIndex Value="0"/> 263 <TopLine Value="14"/> 264 <CursorPos X="29" Y="31"/> 265 265 <UsageCount Value="313"/> 266 266 <Loaded Value="True"/> … … 272 272 <IsPartOfProject Value="True"/> 273 273 <UnitName Value="USystem"/> 274 <EditorIndex Value=" 14"/>275 <WindowIndex Value="0"/> 276 <TopLine Value=" 242"/>277 <CursorPos X=" 51" Y="248"/>274 <EditorIndex Value="9"/> 275 <WindowIndex Value="0"/> 276 <TopLine Value="70"/> 277 <CursorPos X="9" Y="91"/> 278 278 <UsageCount Value="200"/> 279 279 <Loaded Value="True"/> … … 286 286 <ResourceBaseClass Value="DataModule"/> 287 287 <UnitName Value="UCore"/> 288 <EditorIndex Value=" 13"/>288 <EditorIndex Value="8"/> 289 289 <WindowIndex Value="0"/> 290 290 <TopLine Value="42"/> … … 301 301 <ResourceBaseClass Value="Form"/> 302 302 <UnitName Value="USettingForm"/> 303 <EditorIndex Value="4"/>304 303 <WindowIndex Value="0"/> 305 304 <TopLine Value="41"/> 306 305 <CursorPos X="43" Y="52"/> 307 306 <UsageCount Value="229"/> 308 <Loaded Value="True"/>309 307 <DefaultSyntaxHighlighter Value="Delphi"/> 310 308 </Unit15> … … 325 323 <TopLine Value="487"/> 326 324 <CursorPos X="44" Y="500"/> 327 <UsageCount Value="11"/> 328 <DefaultSyntaxHighlighter Value="Delphi"/> 325 <UsageCount Value="10"/> 329 326 </Unit17> 330 327 <Unit18> … … 332 329 <UnitName Value="Controls"/> 333 330 <WindowIndex Value="0"/> 334 <TopLine Value="1 661"/>335 <CursorPos X=" 24" Y="1673"/>331 <TopLine Value="1241"/> 332 <CursorPos X="14" Y="1254"/> 336 333 <UsageCount Value="11"/> 337 <DefaultSyntaxHighlighter Value="Delphi"/>338 334 </Unit18> 339 335 <Unit19> … … 341 337 <IsPartOfProject Value="True"/> 342 338 <UnitName Value="UDataTypes"/> 343 <EditorIndex Value="1 5"/>339 <EditorIndex Value="11"/> 344 340 <WindowIndex Value="0"/> 345 341 <TopLine Value="5"/> … … 355 351 <TopLine Value="1446"/> 356 352 <CursorPos X="26" Y="1458"/> 357 <UsageCount Value="2"/> 358 <DefaultSyntaxHighlighter Value="Delphi"/> 353 <UsageCount Value="1"/> 359 354 </Unit20> 360 355 <Unit21> … … 363 358 <TopLine Value="550"/> 364 359 <CursorPos X="1" Y="561"/> 365 <UsageCount Value="13"/> 366 <DefaultSyntaxHighlighter Value="Delphi"/> 360 <UsageCount Value="12"/> 367 361 </Unit21> 368 362 <Unit22> … … 375 369 <TopLine Value="149"/> 376 370 <CursorPos X="44" Y="164"/> 377 <UsageCount Value="1 48"/>371 <UsageCount Value="151"/> 378 372 <DefaultSyntaxHighlighter Value="Delphi"/> 379 373 </Unit22> … … 383 377 <TopLine Value="51"/> 384 378 <CursorPos X="1" Y="63"/> 385 <UsageCount Value="2 5"/>379 <UsageCount Value="24"/> 386 380 <DefaultSyntaxHighlighter Value="Delphi"/> 387 381 </Unit23> … … 389 383 <Filename Value="../../../Lazarus/0.9.31_2.5.1/lcl/include/control.inc"/> 390 384 <WindowIndex Value="0"/> 391 <TopLine Value="23 63"/>392 <CursorPos X="1" Y="2 376"/>385 <TopLine Value="2393"/> 386 <CursorPos X="1" Y="2406"/> 393 387 <UsageCount Value="25"/> 394 388 </Unit24> … … 398 392 <TopLine Value="286"/> 399 393 <CursorPos X="3" Y="298"/> 400 <UsageCount Value="25"/> 401 <DefaultSyntaxHighlighter Value="Delphi"/> 394 <UsageCount Value="24"/> 402 395 </Unit25> 403 396 <Unit26> … … 406 399 <TopLine Value="460"/> 407 400 <CursorPos X="10" Y="427"/> 408 <UsageCount Value="25"/> 409 <DefaultSyntaxHighlighter Value="Delphi"/> 401 <UsageCount Value="24"/> 410 402 </Unit26> 411 403 <Unit27> … … 414 406 <TopLine Value="120"/> 415 407 <CursorPos X="1" Y="134"/> 416 <UsageCount Value=" 5"/>408 <UsageCount Value="4"/> 417 409 <DefaultSyntaxHighlighter Value="Delphi"/> 418 410 </Unit27> … … 422 414 <TopLine Value="1"/> 423 415 <CursorPos X="24" Y="4"/> 424 <UsageCount Value=" 4"/>416 <UsageCount Value="3"/> 425 417 <DefaultSyntaxHighlighter Value="Delphi"/> 426 418 </Unit28> … … 431 423 <TopLine Value="6"/> 432 424 <CursorPos X="26" Y="18"/> 433 <UsageCount Value=" 3"/>425 <UsageCount Value="2"/> 434 426 <DefaultSyntaxHighlighter Value="Delphi"/> 435 427 </Unit29> … … 443 435 <TopLine Value="40"/> 444 436 <CursorPos X="29" Y="54"/> 445 <UsageCount Value=" 97"/>437 <UsageCount Value="100"/> 446 438 <DefaultSyntaxHighlighter Value="Delphi"/> 447 439 </Unit30> … … 452 444 <TopLine Value="1207"/> 453 445 <CursorPos X="20" Y="1219"/> 454 <UsageCount Value="32"/> 455 <DefaultSyntaxHighlighter Value="Delphi"/> 446 <UsageCount Value="31"/> 456 447 </Unit31> 457 448 <Unit32> 458 449 <Filename Value="../../../Lazarus/0.9.31_2.5.1/lcl/include/customform.inc"/> 459 <EditorIndex Value=" 2"/>460 <WindowIndex Value="0"/> 461 <TopLine Value=" 865"/>462 <CursorPos X=" 1" Y="878"/>450 <EditorIndex Value="10"/> 451 <WindowIndex Value="0"/> 452 <TopLine Value="2102"/> 453 <CursorPos X="21" Y="2107"/> 463 454 <UsageCount Value="31"/> 464 455 <Loaded Value="True"/> … … 470 461 <TopLine Value="446"/> 471 462 <CursorPos X="58" Y="243"/> 472 <UsageCount Value="2 9"/>463 <UsageCount Value="28"/> 473 464 <DefaultSyntaxHighlighter Value="Delphi"/> 474 465 </Unit33> … … 478 469 <TopLine Value="495"/> 479 470 <CursorPos X="14" Y="510"/> 480 <UsageCount Value="29"/> 481 <DefaultSyntaxHighlighter Value="Delphi"/> 471 <UsageCount Value="28"/> 482 472 </Unit34> 483 473 <Unit35> … … 486 476 <WindowIndex Value="0"/> 487 477 <TopLine Value="233"/> 488 <CursorPos X=" 80" Y="254"/>489 <UsageCount Value=" 19"/>478 <CursorPos X="1" Y="246"/> 479 <UsageCount Value="20"/> 490 480 </Unit35> 491 481 <Unit36> … … 495 485 <ResourceBaseClass Value="Form"/> 496 486 <UnitName Value="ULoginProfileForm"/> 497 <EditorIndex Value="3"/>498 487 <WindowIndex Value="0"/> 499 488 <TopLine Value="175"/> 500 489 <CursorPos X="3" Y="183"/> 501 <UsageCount Value="47"/> 502 <Loaded Value="True"/> 490 <UsageCount Value="50"/> 503 491 <DefaultSyntaxHighlighter Value="Delphi"/> 504 492 </Unit36> … … 508 496 <TopLine Value="1"/> 509 497 <CursorPos X="24" Y="4"/> 510 <UsageCount Value="1 8"/>498 <UsageCount Value="17"/> 511 499 </Unit37> 512 500 <Unit38> … … 516 504 <TopLine Value="68"/> 517 505 <CursorPos X="14" Y="81"/> 518 <UsageCount Value="11"/> 519 <DefaultSyntaxHighlighter Value="Delphi"/> 506 <UsageCount Value="10"/> 520 507 </Unit38> 521 508 <Unit39> … … 524 511 <TopLine Value="239"/> 525 512 <CursorPos X="3" Y="245"/> 526 <UsageCount Value="11"/> 527 <DefaultSyntaxHighlighter Value="Delphi"/> 513 <UsageCount Value="10"/> 528 514 </Unit39> 529 515 <Unit40> … … 532 518 <TopLine Value="104"/> 533 519 <CursorPos X="23" Y="112"/> 534 <UsageCount Value="8"/> 535 <DefaultSyntaxHighlighter Value="Delphi"/> 520 <UsageCount Value="7"/> 536 521 </Unit40> 537 522 <Unit41> … … 544 529 <WindowIndex Value="0"/> 545 530 <TopLine Value="4"/> 546 <CursorPos X=" 20" Y="19"/>547 <UsageCount Value="4 1"/>531 <CursorPos X="33" Y="19"/> 532 <UsageCount Value="44"/> 548 533 <DefaultSyntaxHighlighter Value="Delphi"/> 549 534 </Unit41> … … 553 538 <TopLine Value="1575"/> 554 539 <CursorPos X="1" Y="1589"/> 555 <UsageCount Value="11"/> 556 <DefaultSyntaxHighlighter Value="Delphi"/> 540 <UsageCount Value="10"/> 557 541 </Unit42> 558 542 <Unit43> … … 561 545 <TopLine Value="119"/> 562 546 <CursorPos X="1" Y="132"/> 563 <UsageCount Value=" 9"/>547 <UsageCount Value="8"/> 564 548 </Unit43> 565 549 <Unit44> … … 569 553 <TopLine Value="90"/> 570 554 <CursorPos X="3" Y="104"/> 571 <UsageCount Value="1 4"/>555 <UsageCount Value="13"/> 572 556 </Unit44> 573 557 <Unit45> … … 577 561 <TopLine Value="202"/> 578 562 <CursorPos X="10" Y="215"/> 579 <UsageCount Value="9"/> 580 <DefaultSyntaxHighlighter Value="Delphi"/> 563 <UsageCount Value="8"/> 581 564 </Unit45> 582 565 <Unit46> … … 584 567 <IsPartOfProject Value="True"/> 585 568 <UnitName Value="UChronisClient"/> 586 <EditorIndex Value=" 11"/>569 <EditorIndex Value="7"/> 587 570 <WindowIndex Value="0"/> 588 571 <TopLine Value="11"/> 589 572 <CursorPos X="26" Y="40"/> 590 <UsageCount Value=" 37"/>573 <UsageCount Value="40"/> 591 574 <Loaded Value="True"/> 592 575 <DefaultSyntaxHighlighter Value="Delphi"/> … … 596 579 <IsPartOfProject Value="True"/> 597 580 <UnitName Value="UChronisServer"/> 598 <EditorIndex Value="12"/>599 581 <WindowIndex Value="0"/> 600 582 <TopLine Value="1"/> 601 583 <CursorPos X="1" Y="14"/> 602 <UsageCount Value="37"/> 603 <Loaded Value="True"/> 584 <UsageCount Value="40"/> 604 585 <DefaultSyntaxHighlighter Value="Delphi"/> 605 586 </Unit47> … … 611 592 <TopLine Value="8"/> 612 593 <CursorPos X="53" Y="32"/> 613 <UsageCount Value="3 6"/>594 <UsageCount Value="39"/> 614 595 <DefaultSyntaxHighlighter Value="Delphi"/> 615 596 </Unit48> … … 618 599 <IsPartOfProject Value="True"/> 619 600 <UnitName Value="UChronisModule"/> 620 <EditorIndex Value="1 6"/>601 <EditorIndex Value="12"/> 621 602 <WindowIndex Value="0"/> 622 603 <TopLine Value="1"/> 623 604 <CursorPos X="5" Y="15"/> 624 <UsageCount Value=" 27"/>605 <UsageCount Value="30"/> 625 606 <Loaded Value="True"/> 626 607 <DefaultSyntaxHighlighter Value="Delphi"/> … … 630 611 <IsPartOfProject Value="True"/> 631 612 <UnitName Value="UModuleSystem"/> 632 <EditorIndex Value="1 7"/>613 <EditorIndex Value="13"/> 633 614 <WindowIndex Value="0"/> 634 615 <TopLine Value="54"/> 635 616 <CursorPos X="42" Y="66"/> 636 <UsageCount Value=" 27"/>617 <UsageCount Value="30"/> 637 618 <Loaded Value="True"/> 638 619 <DefaultSyntaxHighlighter Value="Delphi"/> … … 643 624 <TopLine Value="195"/> 644 625 <CursorPos X="40" Y="213"/> 645 <UsageCount Value="10"/> 626 <UsageCount Value="9"/> 627 <DefaultSyntaxHighlighter Value="Delphi"/> 646 628 </Unit51> 647 629 <Unit52> 648 630 <Filename Value="../../../Lazarus/0.9.31_2.5.1/lcl/include/containedaction.inc"/> 649 <EditorIndex Value="9"/>650 631 <WindowIndex Value="0"/> 651 632 <TopLine Value="91"/> 652 633 <CursorPos X="1" Y="106"/> 653 <UsageCount Value="11"/> 654 <Loaded Value="True"/> 634 <UsageCount Value="13"/> 655 635 </Unit52> 656 636 <Unit53> 657 637 <Filename Value="../../../Lazarus/0.9.31_2.5.1/lcl/include/customaction.inc"/> 658 <EditorIndex Value="10"/>659 638 <WindowIndex Value="0"/> 660 639 <TopLine Value="240"/> 661 640 <CursorPos X="1" Y="253"/> 662 <UsageCount Value="11"/> 663 <Loaded Value="True"/> 641 <UsageCount Value="13"/> 664 642 </Unit53> 643 <Unit54> 644 <Filename Value="Forms/UItemList.pas"/> 645 <IsPartOfProject Value="True"/> 646 <ComponentName Value="ItemListForm"/> 647 <ResourceBaseClass Value="Form"/> 648 <UnitName Value="UItemList"/> 649 <EditorIndex Value="4"/> 650 <WindowIndex Value="0"/> 651 <TopLine Value="162"/> 652 <CursorPos X="3" Y="181"/> 653 <UsageCount Value="22"/> 654 <Loaded Value="True"/> 655 <LoadedDesigner Value="True"/> 656 <DefaultSyntaxHighlighter Value="Delphi"/> 657 </Unit54> 658 <Unit55> 659 <Filename Value="../../../Lazarus/0.9.31_2.5.1/lcl/forms.pp"/> 660 <UnitName Value="Forms"/> 661 <WindowIndex Value="0"/> 662 <TopLine Value="735"/> 663 <CursorPos X="17" Y="748"/> 664 <UsageCount Value="10"/> 665 </Unit55> 665 666 </Units> 666 667 <JumpHistory Count="30" HistoryIndex="29"> 667 668 <Position1> 668 <Filename Value="Forms/UItem Edit.pas"/>669 <Caret Line="1 " Column="3" TopLine="1"/>669 <Filename Value="Forms/UItemList.pas"/> 670 <Caret Line="119" Column="13" TopLine="105"/> 670 671 </Position1> 671 672 <Position2> 672 <Filename Value="Forms/UItem Edit.pas"/>673 <Caret Line=" 25" Column="11" TopLine="4"/>673 <Filename Value="Forms/UItemList.pas"/> 674 <Caret Line="116" Column="1" TopLine="105"/> 674 675 </Position2> 675 676 <Position3> 676 <Filename Value="Forms/UItem Edit.pas"/>677 <Caret Line=" 68" Column="43" TopLine="47"/>677 <Filename Value="Forms/UItemList.pas"/> 678 <Caret Line="112" Column="1" TopLine="92"/> 678 679 </Position3> 679 680 <Position4> 680 <Filename Value="Forms/UItem Edit.pas"/>681 <Caret Line=" 135" Column="1" TopLine="122"/>681 <Filename Value="Forms/UItemList.pas"/> 682 <Caret Line="85" Column="42" TopLine="72"/> 682 683 </Position4> 683 684 <Position5> 684 <Filename Value=" ../../../Lazarus/0.9.31_2.5.1/lcl/include/customform.inc"/>685 <Caret Line=" 878" Column="1" TopLine="865"/>685 <Filename Value="Forms/UMainForm.pas"/> 686 <Caret Line="389" Column="1" TopLine="367"/> 686 687 </Position5> 687 688 <Position6> 688 <Filename Value=" Forms/UItemEdit.pas"/>689 <Caret Line=" 170" Column="38" TopLine="158"/>689 <Filename Value="USystem.pas"/> 690 <Caret Line="226" Column="28" TopLine="212"/> 690 691 </Position6> 691 692 <Position7> 692 <Filename Value=" Forms/UItemEdit.pas"/>693 <Caret Line=" 135" Column="1" TopLine="122"/>693 <Filename Value="USystem.pas"/> 694 <Caret Line="223" Column="1" TopLine="197"/> 694 695 </Position7> 695 696 <Position8> 696 697 <Filename Value="Forms/UItemView.pas"/> 697 <Caret Line="1 36" Column="78" TopLine="130"/>698 <Caret Line="143" Column="14" TopLine="131"/> 698 699 </Position8> 699 700 <Position9> 700 <Filename Value="Forms/U MainForm.pas"/>701 <Caret Line=" 107" Column="54" TopLine="97"/>701 <Filename Value="Forms/UItemView.pas"/> 702 <Caret Line="44" Column="10" TopLine="33"/> 702 703 </Position9> 703 704 <Position10> 704 <Filename Value=" Forms/UItemEdit.pas"/>705 <Caret Line=" 188" Column="49" TopLine="187"/>705 <Filename Value="USystem.pas"/> 706 <Caret Line="223" Column="1" TopLine="210"/> 706 707 </Position10> 707 708 <Position11> 708 <Filename Value="Forms/UItem Edit.pas"/>709 <Caret Line=" 36" Column="15" TopLine="30"/>709 <Filename Value="Forms/UItemView.pas"/> 710 <Caret Line="113" Column="1" TopLine="100"/> 710 711 </Position11> 711 712 <Position12> 712 <Filename Value="Forms/UItem Edit.pas"/>713 <Caret Line=" 58" Column="41" TopLine="39"/>713 <Filename Value="Forms/UItemView.pas"/> 714 <Caret Line="143" Column="1" TopLine="130"/> 714 715 </Position12> 715 716 <Position13> 716 <Filename Value="Forms/UItem Edit.pas"/>717 <Caret Line=" 75" Column="1" TopLine="61"/>717 <Filename Value="Forms/UItemView.pas"/> 718 <Caret Line="44" Column="15" TopLine="31"/> 718 719 </Position13> 719 720 <Position14> 720 <Filename Value=" Forms/UMainForm.pas"/>721 <Caret Line=" 9" Column="49" TopLine="1"/>721 <Filename Value="USystem.pas"/> 722 <Caret Line="223" Column="1" TopLine="210"/> 722 723 </Position14> 723 724 <Position15> 724 <Filename Value="Forms/U MainForm.pas"/>725 <Caret Line=" 170" Column="22" TopLine="149"/>725 <Filename Value="Forms/UItemList.pas"/> 726 <Caret Line="86" Column="33" TopLine="80"/> 726 727 </Position15> 727 728 <Position16> 728 <Filename Value="Forms/U MainForm.pas"/>729 <Caret Line=" 166" Column="34" TopLine="150"/>729 <Filename Value="Forms/UItemView.pas"/> 730 <Caret Line="42" Column="24" TopLine="29"/> 730 731 </Position16> 731 732 <Position17> 732 <Filename Value=" Forms/UMainForm.pas"/>733 <Caret Line=" 170" Column="22" TopLine="150"/>733 <Filename Value="USystem.pas"/> 734 <Caret Line="84" Column="46" TopLine="62"/> 734 735 </Position17> 735 736 <Position18> 736 <Filename Value=" Forms/UMainForm.pas"/>737 <Caret Line=" 171" Column="19" TopLine="150"/>737 <Filename Value="USystem.pas"/> 738 <Caret Line="91" Column="9" TopLine="70"/> 738 739 </Position18> 739 740 <Position19> 740 <Filename Value="Forms/U MainForm.pas"/>741 <Caret Line="1 72" Column="27" TopLine="151"/>741 <Filename Value="Forms/UItemList.pas"/> 742 <Caret Line="129" Column="30" TopLine="124"/> 742 743 </Position19> 743 744 <Position20> 744 <Filename Value="Forms/U MainForm.pas"/>745 <Caret Line=" 372" Column="14" TopLine="354"/>745 <Filename Value="Forms/UItemView.pas"/> 746 <Caret Line="42" Column="24" TopLine="29"/> 746 747 </Position20> 747 748 <Position21> 748 <Filename Value="Forms/U MainForm.pas"/>749 <Caret Line=" 376" Column="1" TopLine="355"/>749 <Filename Value="Forms/UItemEdit.pas"/> 750 <Caret Line="54" Column="19" TopLine="35"/> 750 751 </Position21> 751 752 <Position22> 752 <Filename Value="Forms/UItem Edit.pas"/>753 <Caret Line=" 46" Column="1" TopLine="28"/>753 <Filename Value="Forms/UItemAdd.pas"/> 754 <Caret Line="31" Column="1" TopLine="17"/> 754 755 </Position22> 755 756 <Position23> 756 <Filename Value="Forms/UItem Edit.pas"/>757 <Caret Line=" 82" Column="1" TopLine="78"/>757 <Filename Value="Forms/UItemAdd.pas"/> 758 <Caret Line="120" Column="28" TopLine="107"/> 758 759 </Position23> 759 760 <Position24> 760 <Filename Value="Forms/U MainForm.pas"/>761 <Caret Line="2 83" Column="1" TopLine="280"/>761 <Filename Value="Forms/UItemEdit.pas"/> 762 <Caret Line="203" Column="28" TopLine="191"/> 762 763 </Position24> 763 764 <Position25> 764 <Filename Value="Forms/U MainForm.pas"/>765 <Caret Line=" 290" Column="1" TopLine="285"/>765 <Filename Value="Forms/UItemEdit.pas"/> 766 <Caret Line="135" Column="73" TopLine="122"/> 766 767 </Position25> 767 768 <Position26> 768 769 <Filename Value="Forms/UItemEdit.pas"/> 769 <Caret Line=" 79" Column="1" TopLine="74"/>770 <Caret Line="220" Column="41" TopLine="207"/> 770 771 </Position26> 771 772 <Position27> 772 773 <Filename Value="Forms/UItemEdit.pas"/> 773 <Caret Line=" 143" Column="1" TopLine="139"/>774 <Caret Line="276" Column="19" TopLine="263"/> 774 775 </Position27> 775 776 <Position28> 776 <Filename Value="Forms/UItem Edit.pas"/>777 <Caret Line=" 77" Column="3" TopLine="75"/>777 <Filename Value="Forms/UItemView.pas"/> 778 <Caret Line="112" Column="20" TopLine="104"/> 778 779 </Position28> 779 780 <Position29> 780 <Filename Value="Forms/UItem Edit.pas"/>781 <Caret Line=" 85" Column="17" TopLine="82"/>781 <Filename Value="Forms/UItemList.pas"/> 782 <Caret Line="119" Column="15" TopLine="112"/> 782 783 </Position29> 783 784 <Position30> 784 <Filename Value="Forms/UItem Edit.pas"/>785 <Caret Line=" 64" Column="52" TopLine="45"/>785 <Filename Value="Forms/UItemList.pas"/> 786 <Caret Line="181" Column="3" TopLine="162"/> 786 787 </Position30> 787 788 </JumpHistory> -
trunk/chronis.lpr
r29 r31 12 12 CoolWeb, USystem, UCore, UApplicationInfo, USettingForm, UDataTypes, 13 13 UImportStructureForm, UItemSelect, ULoginProfileForm, UAboutForm, 14 UChronisClient, UChronisServer, UChronisClientDirect, UChronisModule, UModuleSystem 14 UChronisClient, UChronisServer, UChronisClientDirect, UChronisModule, 15 UModuleSystem, UItemList, LDockTree 15 16 { you can add units after this }; 16 17 … … 33 34 Application.CreateForm(TMainForm, MainForm); 34 35 Application.CreateForm(TLoginForm, LoginForm); 35 Application.CreateForm(TItemViewForm, ItemViewForm); 36 Application.CreateForm(TItemEditForm, ItemEditForm); 37 Application.CreateForm(TItemAddForm, ItemAddForm); 36 Application.CreateForm(TImportStructureForm, ImportStructureForm); 37 Application.CreateForm(TLoginProfileForm, LoginProfileForm); 38 38 Application.CreateForm(TSettingForm, SettingForm); 39 Application.CreateForm(TImportStructureForm, ImportStructureForm);40 Application.CreateForm(TItemSelectForm, ItemSelectForm);41 Application.CreateForm(TLoginProfileForm, LoginProfileForm);42 Application.CreateForm(TAboutForm, AboutForm);43 39 Application.Run; 44 40 end.
Note:
See TracChangeset
for help on using the changeset viewer.