A list gadget allows you to make single or multiple selections from many alternatives. The list of choices is scrollable if the list is too long to be displayed all at once.
A LIST gadget is thus appropriate if you have a long list of choices, or if you are constructing the list dynamically (at run time), especially if you cannot predict how many choices there will be.
The Dtext values
must be supplied, but the replacement values are optional.
If you do not supply the Rtext values you will default to the
Dtext values. The
Rtext values are often used to assign callback strings to each field of the list.
You can replace the list’s Rtext with a new array of the same length without disturbing the current
Dtexts:
You can use the new Add methods to add a single new entry to be appended to
LIST and
SELECTOR gadgets:
Where Dtext is the text to be displayed in the option list, and
Rtext is the replacement text for the new field.
If Rtext is not specified, it will be set to the
Dtext string by default.