Difference between revisions of "TListView"
From Lazarus wiki
Jump to navigationJump to searchm (→Sorting) |
m (→Sorting) |
||
Line 7: | Line 7: | ||
==Sorting== | ==Sorting== | ||
Sorting is (typically?) applied when using '''vsReport''' ViewStyle. Sorting might be a time consuming process or a larger data scale (when comparison of items takes a considerable time). | Sorting is (typically?) applied when using '''vsReport''' ViewStyle. Sorting might be a time consuming process or a larger data scale (when comparison of items takes a considerable time). | ||
+ | |||
+ | '''AutoSort''' | ||
'''AlphaSort''' is a convenience method, that performs ascending sort based on the text of the first column (index 0) | '''AlphaSort''' is a convenience method, that performs ascending sort based on the text of the first column (index 0) |
Revision as of 17:45, 9 January 2020
│
English (en) │
français (fr) │
polski (pl) │
русский (ru) │
TListView is a visible component on the Common Controls tab of the Component Palette that provides a list view of its associated Items. Items can be represented by an icon from each of the associated TImageLists: SmallImages, LargeImages and StateImages.
Notes
- GetNextItem() requires StartItem to be provided. This is incompatible with Delphi's GetNextItem(), where startItem is allowed to be nil, which will perform the search from the relative (direction driven) start.
Sorting
Sorting is (typically?) applied when using vsReport ViewStyle. Sorting might be a time consuming process or a larger data scale (when comparison of items takes a considerable time).
AutoSort
AlphaSort is a convenience method, that performs ascending sort based on the text of the first column (index 0)
See also