I have a LayoutView that displays many cards. I would like to set the caption of each of the cards to data that is unique for each card. For example, if each card was a database entry for a fruit, I would like to display the fruit name in the caption of the Card. So, when the cards are minimized, it would say: "Apple", "Banana", "Grapes", etc. (Our data is stored in XPO). Do I need to loop through each card, or is there an easy way to set the CardCaptionFormat in the GotFocus event of the layout?
As always, thank you for your help!
If your row has a field with the necessary caption, you can provide a column index in your format string. Please note that your column index begins with 2. I've attached a sample.
Let me know if you need further assistance.
Thank you, Marina
Is your intention to post an answer to your own question?
- If so, then proceed.
- If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
- If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.