How to access text button on individual TListViewItem

  

I have a Firemonkey TListView component which I have customized to include a Text and TextButton component on each item. To customize my TListView component, I followed the “Using the Custom Value” section of this documentation.

I need to hide the TextButton on certain items within my list. I have figured out how to hide all of the TextButton components in the list at once using:

MyListView->ItemAppearanceObjects->ItemObjects->TextButton->Visible = false;

However I cannot figure out how to access the TextButton of an individual row, in order to hide the specific buttons I need hidden. How can I gain access to the TextButton of an individual row within my list?

Comments are closed.