unit UPEPObju;
{ Generated by MakeComp 1.03 from UPEPTYPE.PAS. Don't modify manually !!! }
interface
uses Classes, SysUtils, Graphics, UlanType, ULRecTyp, ULObju, 
  UPESType,
  UPEPType;

type
  TUPEPObj = class(TULObj)
  protected
    function GetPrgExpsPoolName: TULPrgExpsPoolName;
    procedure SetPrgExpsPoolName(APrgExpsPoolName: TULPrgExpsPoolName);
    function GetMinRecLen: TULRecLen; override;
  public
    constructor Create(AOwner:TULObj);
    function GetULRecDesc: PULRecDesc; override;
  published
    property PrgExpsPoolName: TULPrgExpsPoolName
      read GetPrgExpsPoolName write SetPrgExpsPoolName;
  end;

const
  UPEPChildRecIDs: array[0..0] of TULRecID = (
    UPESID
  );
  UPEPFldDescs: array[0..0] of TULFldDesc = (
    (
     Caption: '';
     Hint: '';
     EditWidth: 0;
     BrowseWidth: 0;
     Flags: 4096;
     UserCoef: 0.00;
     NumDec: 0;
     ValuesSourceRecID: 0;
     FieldColorCount : 0;
     FieldColors : nil;
     Filter: '';
     DefDir: '';
     StripPrefix: '';
     EditMask: '';
     MaxID: 0;
     FieldName: 'PrgExpsPoolName';
     KeyFieldName: '';
     ListFieldName: '';
     Typ: '';
     VarSize: false;
     PasType: 'TULPrgExpsPoolName';
    )
  );

  UPEPRecDesc: TULRecDesc = (
    Caption: 'Expressions Pool';
    ChildRecIDsStr: 'UPESID';
    ChildRecIDs: @UPEPChildRecIDs;
    ChildRecIDCount: 1;
    FldCount: 1;
    Flds: @UPEPFldDescs;
    Flags: rfChildAllowed OR rfHasRecName OR rfEnabled OR rfVisible;
    SortExp: '';
    EditFieldList: '';
    BrowseFieldList: '';
    MenuFieldList: '';
    BrowseChildRecIDs: '';
    NameProp: '';
    MainProp: '';
    DefDir: '';
    OpenFilter: '';
    SaveFilter: '';
    Table: '';
    Indexes: ''
   );

implementation

{TUPEPObj}
function TUPEPObj.GetMinRecLen: TULRecLen;
begin
  GetMinRecLen := sizeof(TUPEPRec);
end;

constructor TUPEPObj.Create(AOwner: TULObj);
begin
  inherited Create(TComponent(AOwner), UPEPID);
end;

function TUPEPObj.GetULRecDesc: PULRecDesc;
begin
  Result := @UPEPRecDesc;
end;

procedure TUPEPObj.SetPrgExpsPoolName(APrgExpsPoolName: TULPrgExpsPoolName);
begin
  if PUPEPRec(Rec)^.PrgExpsPoolName <> APrgExpsPoolName then begin
    PUPEPRec(Rec)^.PrgExpsPoolName := APrgExpsPoolName;
    if UPEPFldDescs[0].VarSize then 
      ClearFieldsLen;
    DoChange;
  end;
end;

function TUPEPObj.GetPrgExpsPoolName: TULPrgExpsPoolName;
begin
  GetPrgExpsPoolName := PUPEPRec(Rec)^.PrgExpsPoolName;
end;

{/TUPEPObj}

end.
