Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: XE 7 Listview get the header text.



Permlink Replies: 0
Stev Warby

Posts: 50
Registered: 10/19/14
XE 7 Listview get the header text.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2015 4:13 PM
I am populating a listview from a live binding.

When clicking on the list I need to eaxtract all the data from that row.

This works :
ListView1ItemClick
var

detail, text, headerText : String

begin

detail := AItem.Detail
text := AItem.Text

end;

I can't work out how to get the header / footer text.

1. What is the correct syntax please?
2. How do I manually set the header text. eg the equivalent for the header text of ListView1.Items.Add.Text
Any good videos on listview anywhere ?

Thanks

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02