unit UDLSObju;
{ Generated by MakeComp 1.03 from UDLSTYPE.PAS. Don't modify manually !!! }
interface
uses Classes, SysUtils, Graphics, UlanType, ULRecTyp, ULObju, 
  UDLRType,
  UDLSType;

type
  TUDLSObj = class(TULObj)
  protected
    function GetDataLinesName: TDataLinesName;
    procedure SetDataLinesName(ADataLinesName: TDataLinesName);
    function GetMinRecLen: TULRecLen; override;
  public
    constructor Create(AOwner:TULObj);
    function GetULRecDesc: PULRecDesc; override;
  published
    property DataLinesName: TDataLinesName
      read GetDataLinesName write SetDataLinesName;
  end;

const
  UDLSChildRecIDs: array[0..0] of TULRecID = (
    UDLRID
  );
  UDLSFldDescs: array[0..0] of TULFldDesc = (
    (
     Caption: '';
     Hint: '';
     EditWidth: 0;
     BrowseWidth: 0;
     Flags: 4097;
     UserCoef: 0.00;
     NumDec: 0;
     ValuesSourceRecID: 0;
     FieldColorCount : 0;
     FieldColors : nil;
     Filter: '';
     DefDir: '';
     StripPrefix: '';
     EditMask: '';
     MaxID: 0;
     FieldName: 'DataLinesName';
     KeyFieldName: '';
     ListFieldName: '';
     Typ: '';
     VarSize: false;
     PasType: 'TDataLinesName';
    )
  );

  UDLSRecDesc: TULRecDesc = (
    Caption: 'Data lines';
    ChildRecIDsStr: 'UDLRID';
    ChildRecIDs: @UDLSChildRecIDs;
    ChildRecIDCount: 1;
    FldCount: 1;
    Flds: @UDLSFldDescs;
    Flags: rfChildAllowed OR rfRootChild OR rfUsingColors OR rfEnabled OR rfVisible;
    SortExp: '';
    EditFieldList: '';
    BrowseFieldList: '';
    MenuFieldList: '';
    BrowseChildRecIDs: '';
    NameProp: '';
    MainProp: '';
    DefDir: '';
    OpenFilter: '';
    SaveFilter: '';
    Table: '';
    Indexes: ''
   );

implementation

{TUDLSObj}
function TUDLSObj.GetMinRecLen: TULRecLen;
begin
  GetMinRecLen := sizeof(TUDLSRec);
end;

constructor TUDLSObj.Create(AOwner: TULObj);
begin
  inherited Create(TComponent(AOwner), UDLSID);
end;

function TUDLSObj.GetULRecDesc: PULRecDesc;
begin
  Result := @UDLSRecDesc;
end;

procedure TUDLSObj.SetDataLinesName(ADataLinesName: TDataLinesName);
begin
  if PUDLSRec(Rec)^.DataLinesName <> ADataLinesName then begin
    PUDLSRec(Rec)^.DataLinesName := ADataLinesName;
    if UDLSFldDescs[0].VarSize then 
      ClearFieldsLen;
    DoChange;
  end;
end;

function TUDLSObj.GetDataLinesName: TDataLinesName;
begin
  GetDataLinesName := PUDLSRec(Rec)^.DataLinesName;
end;

{/TUDLSObj}

end.
