Hello! I've uploaded a new screenshot of scui featuring DropDown gadgets and ListView!
Code: Select all
FEATURES
DropDown
- Scroller automatically added if needed
ListView
- Scroller automatically added if needed (only vertical atm)
- Clicking on the header columns will sort the listview contents,
ascending the first click, descending the second click)
- User can select only one row or multiple rows depending on the
listview type
- Column size defined passing % of the ListView width
Code: Select all
x = scui.NewObject( #IFOCLASS_LISTVIEW,
{ x = 10, y = 404 },
{ x = 460, y = 100 },
nil,
{ FieldNames = { "Name", "Surname", "Age" },
Sizes = { 40, 40, 20 },
Entries = { { "Fabio", "", "37" },
{ "Johnny", "Mnemonic", "36" },
{ "Clark", "Kent", "38" },
{ "Peter", "Pan", "14" },
{ "Takaya", "Todoroky", "23" },
{ "Aran", "Benjo", "24" },
{ "Mickey", "Mouse", "??" }
}
},
nil )