Attract-Mode Support Forum

Attract-Mode Support => Scripting => Topic started by: zpaolo11x on March 17, 2020, 06:51:22 AM

Title: Content of an overlay listbox list
Post by: zpaolo11x on March 17, 2020, 06:51:22 AM
In a layout you can define a listbox, and use that listbox as overlay control, so that menu entries are shown in that listbox. There's a parameter to get the length of the list shown in the listbox, but is there a way to get the actual _content_ of the list in the listbox? I don't mean the displayed content, which is limited to the listbox rows, but the list content itself.

Example: you have a 3 rows listbox and when you enter the tags menu you get the "Add tag" voice for each of the tags in the games list, let's say you have 6 entries at all to show in this listbox. I'd love to be able to get those entries.