Ignore:
Timestamp:
Jun 13, 2011, 2:35:01 PM (13 years ago)
Author:
george
Message:
  • Fixed: Loading content of RelationMany sublist in item view.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UMainForm.pas

    r16 r17  
    440440  ObjectPropertyId := AddObject('Properties', 'Property', Core.System.Database.Database, GroupId);
    441441    AddPropertyString(ObjectPropertyId, 'Name', 'Name');
    442     PropertyObjectId := AddPropertyRelationOne(ObjectPropertyId, 'Object', 'Object', ObjectId);
     442    PropertyParentId := AddPropertyRelationOne(ObjectPropertyId, 'Object', 'Object', ObjectId);
    443443    ObjectPropertyIdGroup := AddPropertyRelationOne(ObjectPropertyId, 'Property group', 'PropertyGroup', ObjectPropertyGroupId);
    444444    AddPropertyNumber(ObjectPropertyId, 'Custom type', 'CustomType');
     
    597597  with TReportLine(Report[Item.Index]) do begin
    598598    Item.Caption := Items[0];
    599     for I := 1 to Items.Count - 1 do
    600     if not TReportColumn(Report.Columns[I]).VirtualItem then
     599    for I := 1 to Report.Columns.Count - 1 do
     600    if not TReportColumn(Report.Columns[I]).VirtualItem then begin
    601601      Item.SubItems.Add(Items[I]);
     602    end;
    602603  end;
    603604end;
Note: See TracChangeset for help on using the changeset viewer.