rzaripov1990 / ModernListView

[FireMonkey] Modern ListView - Colorizer, Vertical\Horizontal mode, Columns and other
120 stars 41 forks source link
delphi firemonkey fmx listview modernlv

HitCount

ModernListView (Berlin, Tokyo [with fix], Rio)

Modern ListView - Colorizer, Vertical\Horizontal mode, Columns and other

Colorizer

colorizer

set custom color for item
  if ListView1.IsCustomColorUsed(ListView1.ItemIndex) then
    ListView1.SetDefaultColorForItem(ListView1.ItemIndex)
  else
    ListView1.SetCustomColorForItem(ListView1.ItemIndex, TAlphaColorF.Create(random(255) / 255, random(255) / 255, random(255) / 255, random(255) / 255).ToAlphaColor);

Horizontal Mode

horizontal mode

Columns Mode (only vertical)

colorizer

Events

event for AutoColumn mode

  procedure OnColumnClick(const Column: Integer; const X, Y: Single; const AItem: TListViewItem; const DrawebleName: string);

called when end of list

  procedure OnScrollEnd(Sender: TObject);

Methods