Wikia

Delphi Programming

TListView Basic Example 1

2,918pages on
this wiki
Talk0

Download the source for the application here.

This is a very basic example to demonstrate the built in capabilities of the standard VCL tListView component.

The items in the list were created at design time using the component's "items" property editor. Creating and deleting items at run-time are left to more advanced examples.

Anomalous Behaviour
I have observed the following strange behaviour running the application compiled in Delphi 4 SP3 under Windows XP Home SP2:

  • If any of the "HotTrackStyles" are "True", the item caption can no longer be edited by clicking twice on it.
  • If the "htHandPoint" Hot Track Style is false and "htUnderlineHot" is "True", the item's caption is not underlined until the item is selected.
  • Occassionally, changing the "ColumnClick" property will change the column widths in the "Report" view style.
  • Changing "ShowColumnHeaders" will deselect all items in the "Report" view style.

Return to:
Delphi Source Code
Example Applications
tListView

Around Wikia's network

Random Wiki