I have a little properly simple problem.
I have a ListView in Borland C++ Builder 2006, where I know the value of a caption and need the index instead or the value of the first subitem.
I thought it was I could do it like:
But unfortunately I get the error E2034 Cannot convert 'char *' to 'TListItem *' . What do I do wrong?
int Varindex = ToolView->Items->IndexOf("my caption");