Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Discover The Powerful Custom ModernListView Library For Cross-Platform Development in Delphi FireMonkey

The website www.fmxexpress.com has an article with some really detailed information about the ModernListView Library. Lets check what they are saying.

“Developer rzaripov1990 has a custom ListView component over on Github for Firemonkey in Delphi 10 Berlin. The ListView is the central component for every mobile application, and as a developer you should always choose the one that can be heavily customizable and very easy to use/implement. This modern ListView component is available for Delphi 10 Berlin with FireMonkey on Android, IOS, OSX, and Windows”.

What are the features of the ModernListView Library?

One nice feature is that it has both horizontal and vertical mode. Thus, using

[crayon-6763126fbf79e715822359/]

enables the list to display the cells (items) in a horizontal perspective, while

[crayon-6763126fbf7a5919552271/]

displays the items vertically. If you are an artist when designing your look and feel of the application, this component can customize every graphic aspect such with available events such as: SetColorItemSelected, SetColorItemFill, SetColorBackground, SetColorItemSeparator, SetColorText, SetColorTextSelected, SetColorTextDetail, SetColorHeader, SetColorTextHeader, and many other properties.

The properties are self-explanatory, no need to cover them here. With the AutoColumns and ColumnWidth properties, the component will automatically calculate the best fit appearance and position for the items when populating the list (very useful when dealing with large number of items).

Apart form the standard behavior events, you have OnColumnClick listener for the ListView. You also have the option to hide/show the scroll bars (ListView.ShowScrollBar), set indent for items separators (ListView.SeparatorLeftOffset and ListView.SeparatorRightOffset).

How much does the ModernListView Library cost?

The component is free and has some nice demos with it as well. For the moment it is available only for Delphi Berlin using FireMonkey, very useful too if you build multi-device applications.

Using ModernListView Library

Let’s get a better view of what is this all about. We will now go through some of the components, their design and what they do.

Colorizer

set custom color for item
[crayon-6763126fbf7a7944902890/]

Horizontal Mode

Columns Mode (only vertical)

Events

event for AutoColumn mode

[crayon-6763126fbf7a9451545016/]

called when end of list

[crayon-6763126fbf7aa699080000/]

Methods

The list is long, so if you want to see all of it and try the library, just go to Github, download and test this package: https://github.com/rzaripov1990/ModernListView

Note that the screen shots and some of the text in this article are drawn from the above GitHub repository.

Exit mobile version