Scrolling Choice Lists
Scrolling Choice Lists
- Usage
- To have all the selections available for viewing at one time.
- List( )
- Creates a scrolling list and only one choice may be selected.
- List(int size, boolean bool)
- Creates a scrolling list of the size size, the bool is for multiple selections.
- List names = new List(4, true);
names.addItem("Kim");
names.addItem("Park");
names.addItem("Lee");
names.addItem("Choi");
names.select(1);
names.select(3);
add(Names);
Notes: