List Views

From RAD Studio
Jump to: navigation, search

Go Up to List Controls


List views, created using TListView, display lists in various formats. Use the ViewStyle property to choose the kind of list you want:

  • vsIcon and vsSmallIcon display each item as an icon with a label. Users can drag items within the list view window.
  • vsList displays items as labeled icons that cannot be dragged.
  • vsReport displays items on separate lines with information arranged in columns. The leftmost column contains a small icon and label, and subsequent columns contain subitems specified by the application. Use the ShowColumnHeaders property to display headers for the columns.

See Also