Online Help TEDIDataObjectListItem

Unit JclEDI

Types

TEDIDataObjectListItem

   A descendent of TEDIObjectListItem used specifically for referencing TEDIDataObject type objects

 Property

property EDIDataObject: TEDIDataObject read GetEDIDataObject write SetEDIDataObject;

   Returns the reference to an EDIDataObject. The ancestor EDIObject property can still be used but may need to be typecast depending on how it is used.

Usage

Notes & Examples

   Some simple examples.

 Example #1

procedure DoSomething(Item: TEDIDataObjectListItem);
begin
  ShowMessage( Item.EDIDataObject.Data );
end;

 Example #2

procedure DoSomething(Item: TEDIObjectListItem);
begin
  if Item is TEDIDataObjectListItem then
    ShowMessage( TEDIDataObjectListItem(Item).EDIDataObject.Data );
  if Item.EDIObject is TEDIDataObject then
    ShowMessage( TEDIDataObject(Item.EDIObject).Data );
end;