Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TAdvResponsiveList
Creating your own responsive list item class

Descend from TAdvResponsiveList and override the function GetItemClass:

  TAdvResponsiveListEx = class(TAdvResponsiveList)
  protected
    function GetItemClass: TCollectionItemClass; override;
  end;
Via this function return your custom class that descends from TResponsiveListItem:

  TResponsiveListItemEx = class(TResponsiveListItem)
  // add any property / functionality / extension you want to the TResponsiveListItem
  end;

function TAdvResponsiveListEx.GetItemClass: TCollectionItemClass;
begin
  Result := TResponsiveListItemEx;
end;