Changeset 21 for trunk/Forms/UItemView.pas
- Timestamp:
- Jun 16, 2011, 10:32:01 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UItemView.pas
r17 r21 174 174 175 175 procedure TItemViewForm.LoadSubList; 176 var177 NewColumn: TListColumn;178 I: Integer;179 176 begin 180 177 //SelectedObjectId := 0; … … 186 183 Report.Load(SubListObject, '`' + PropertyName + '`=' + IntToStr(TabObjectList[TabControl1.TabIndex])); 187 184 188 Columns.Clear; 189 for I := 0 to Report.Columns.Count - 1 do 190 if not TReportColumn(Report.Columns[I]).VirtualItem then begin 191 NewColumn := Columns.Add; 192 NewColumn.Caption := TReportColumn(Report.Columns[I]).Caption; 193 end; 185 Report.FillListColumns(Columns); 194 186 Items.Count := Report.Count; 195 187 Refresh;
Note:
See TracChangeset
for help on using the changeset viewer.