function MyGUI_TextList1.onSelect(id, txt, ind) { if (txt == "Development") { echo("You have selected Development."); } }