It's just a
tree list.
Example from SQL Explorer:
PHP Code:
new GuiTreeViewCtrl("SQL_Data_DBs_Tree") {
profile = GuiBlueTreeViewProfile;
x = 0;
y = 0;
fitparentwidth = true;
horizSizing = "width";
active = false;
clearNodes();
addNode("Loading...");
}
later..
PHP Code:
with (SQL_Data_DBs_Tree) {
clearNodes();
active = true;
for (temp.db: data[0]) {
with (addNode(db[0])) {
this.expanded = false;
for (temp.table: db[1]) {
this.expanded = false;
with (addNode(table[0])) {
this.database = db[0];
for (temp.idx: table[1]) {
with (addNode(idx[0] @ " (" @ idx[1] @ ")")) {
image = selectedimage = 2;
this.indexName = idx[0];
this.columns = idx[1];
}
}
}
}
}
}
} // lol