$list->add("rec$i.$j", '-text' => "$segments[$j]"); $list->setmode("rec$i.$j", 'open'); $list->close("rec$i.$j"); $list->hide('entry', "rec$i.$j");