Fandom

Delphi Programming

TListView Basic Example 1

2,918pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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

Also on Fandom

Random Wiki