| Index | Parent | List class |
The List class is used to manipulate lists.
A list object is NOT a Listview : It is only the list that the Listview will render.
A List object can be added ONLY to a Listview object at Listview object creation time.
See Listview
| ATTRIBUTES | |||
|---|---|---|---|
| Name | Type | Class | Note |
| Active | M | ISGN G2N | |
| ActiveEntry1 | S | GN | |
| ActiveEntry2 | S | GN | |
| ActiveEntry3 | S | GN | |
| ActiveEntry4 | S | GN | |
| ActiveEntry5 | S | GN | |
| ActiveEntry6 | S | GN | |
| ActiveEntry7 | S | GN | |
| ActiveEntry8 | S | GN | |
| ActiveEntry9 | S | GN | |
| ActiveEntry | S | GN | |
| AdjustHeight | B | I | |
| AdjustWidth | B | I | |
| AutoVisible | B | ISG | |
| DragSortable | B | ISG | |
| DropMark | N | G | |
| Entries | S | I | |
| First | N | ISGN | |
| Format | S | ISG | |
| InsertPosition | N | GN | |
| Quiet | B | S | |
| ShowDropMarks | B | ISG | |
| Title | S | I | |
| Visible | N | N | |
| METHODS | ||
|---|---|---|
| Name | Parameters | Note |
| Clear | ||
| Exchange | <entry1> , <entry2> | |
| GetEntries | <varname> | |
| GetEntry | <pos> <var> | |
| GetSelected | stem | |
| Insert | <entry> , [pos] | |
| Jump | <pos> | |
| Remove | <pos> | |
| ReplaceCol | <pos> <col> <value> | |
| Select | <pos>,<val> | pos may be ACTIVE ALL - val may be ON OFF NONE TOGGLE |
| Sort | ||
Active is a number or one of
pos for Insert is a number or one of
pos for GetEntry is a number or
pos for Remove is a number or
entry1 in Exchange is a number or one of
entry2 in Exchange is a number or one of
GetSelected will write in stem.0 ... the number of the selected entries and in stem.num the total number so you can cycle with a
do i=0 to sel.num-1
say sel.i
end