The SLIST object

The SList object (scrolled list) requires input data for creation. The image below shows the list creation dialog window that is open as you press the SList creation button.

This dialog lets you set the optional list heading text, the number of visible rows, the number of actual columns and the number of visible columns. Moreover you can enable the ‘multi selection’, ‘item motion’ and sorting options. The ‘item motion’ option enables the run-time feature that makes it possible to move items in the list using the ‘Alt’ + Up/Down Arrow keys.

‘Item motion’ and ‘Sorted’ options of course cannot be set both.

'Auto SB color' enables the color of buttons and slider in the scrollbars to be set automatically based on the List background color.
The brightness of such computed color will be optimized.

Note that the actual number of visible rows and columns may result greater than the requested ones due to default attachments at creation time. You can decide to edit later the SList object by removing some attachments and modifying the number on rows and columns.

The SList ‘object specific’ editing dialog permits the modification of most parameters available at creation time and in addition it allows the definition of list items and their associated ‘user data’.



Such user data, which is of type ‘void *’, will appear in the generated source ‘as is’, so you have to use something well known by the compiler.

The lists in OptionEdit objects in this dialog are unsorted and have the ‘item motion’ capability enabled. This way you can move items in this lists to establish the desired order in the target SList object being edited. Of course, changing the order of the items in the OptionEdit list makes no sense if the target SList object is sorted.