Text File | 1995-05-06 | 876 b | 3 lines | [TEXT/MPS ]
{Heading 1}Lists, Paged Lists and Prefixes{Body Text}TextPak_List supports the creation and control of lists, such as the one below. The list items are passed to the list handling object in a Collection or Array. These are displayed on screen, with next and previous page buttons if all the items can't be shown in a single list. When the user selects an item the index of the item chosen is returned by the handling object.
{Body Text}The TextPak_List class handles the highlighting of the selected list item, as well as the display of the next and previous buttons and their function.
{Body Text}You can also supply a prefix string which prepends all list items: this is how the bulleted list is produced in the "Future Extensions" section. You can see the source code for the following list by clicking on the source code button in the top right hand corner of this screen.