Changeset 32 for trunk/Forms/UItemList.pas
- Timestamp:
- Nov 24, 2011, 10:31:04 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UItemList.pas
r31 r32 67 67 with ListView1 do begin 68 68 Visible := True; 69 SelectedObject.Load(SelectedObject.Id);69 //SelectedObject.Load(SelectedObject.Id); 70 70 Report.Load(SelectedObject); 71 71 … … 86 86 NewItemViewForm.SelectedObject.Assign(SelectedObject); 87 87 NewItemViewForm.SelectedItemId := Integer(ListView1.Selected.Data); 88 NewItemViewForm.Caption := NewItemViewForm.Caption + ' ' + SelectedObject.Name; 88 89 MainForm.AddTabForm(NewItemViewForm); 89 90 end; … … 118 119 NewItemEditForm.SelectedObject.Assign(SelectedObject); 119 120 NewItemEditForm.SelectedItemId := Integer(ListView1.Selected.Data); 121 NewItemEditForm.Caption := NewItemEditForm.Caption + ' ' + SelectedObject.Name; 120 122 MainForm.AddTabForm(NewItemEditForm); 121 123 end; … … 129 131 NewItemAddForm.SelectedObject.Assign(SelectedObject); 130 132 NewItemAddForm.SelectedItemId := Integer(ListView1.Selected.Data); 133 NewItemAddForm.Caption := NewItemAddForm.Caption + ' ' + SelectedObject.Name; 131 134 MainForm.AddTabForm(NewItemAddForm); 132 135 end;
Note:
See TracChangeset
for help on using the changeset viewer.