ShowMessage(listview1.itemappearance.Header.text, Item.text)

Posted on 2013-06-03
Last Modified: 2013-06-06
Hi I need to drill into the ItemAppearance of the tlistview and ,
Showmessage of Footer, Header, Item.
Question by:Grant1842
  • 5
  • 2

Assisted Solution

Beneford earned 500 total points
ID: 39218316
I don't have XE4, so can't actually try anything out.
What error are you getting?
XE2's ShowMessage takes one parameter only, but your title implies two.
If you want to show a single string with three strings in it, you could use:

Open in new window

Or post some code (and a description of what you expect to see)..
LVL 12

Author Comment

ID: 39218687
I am doing an IOS app so the FMX.listview i a m using has more propertys than  one for windows.

as posted I need to show message for FMX.listview> ItemAppearance > 
Footer(Text, Detail)<show message of the Text and Detail
Header(Text, Detail)<show message show message of the Text and Detail
 Item(Text, Detail)<show message show message of the Text and Detail

Whish I could edit the title of the question. I just look at the listview for windows and it does not have the extra sup property as when you use it for firemonkey ios app,
LVL 12

Author Comment

ID: 39220839
Anyone have any thoughts on how to do this ?
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

LVL 12

Author Comment

ID: 39220970
LVThe 1,2,3 are the Headers (Item.Text).

How can I do a simple show message to show these values.
LVL 12

Author Comment

ID: 39224335
I have learned some new info.

showmessage( lvCustomers.Items.Item[0].Detail)
This will return the 1 in the first Header.

I need to do someting like
showmessage( lvCustomers.Items.Item[lvCustomers.Selected].Detail)

I need to get the Detail of the record I click on in the FMX.Listview.

Anyone here done this before.

Accepted Solution

Beneford earned 500 total points
ID: 39224733
showmessage( lvCustomers.Items.Item[lvCustomers.ItemIndex].Detail)
LVL 12

Author Closing Comment

ID: 39225324
Thanks Guys

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSum5 challenge 5 91
Need To Find FireFox Binary Path For Python Selenium On Windows 7 15 727
Create a path if not exists 7 90
How to make Sign in, using Clientdataset? 1 28
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question