restart: with(Maplets): with(Maplets[Elements]): M:=Maplet( Window(title="Maplet Elements", layout=BoxLayout( BoxColumn(border=true, BoxRow( BoxCell(halign=left, "ComboBox" ), BoxCell(halign=right, ComboBox[CB]("one",["one","two","three"], onchange=SetOption(target='TF', Argument('CB'))) ) ), BoxRow( BoxCell(halign=left, "ComboBox editable" ), BoxCell(halign=right, CheckBox[ChB](true, onchange=SetOption(target='CB', `option`=editable, Argument('ChB'))) ) ), BoxRow( BoxCell(halign=left, "DropDownBox" ), BoxCell(halign=right, DropDownBox[DDB]("one",["one","two","three"], onchange=SetOption(target='TF', Argument('DDB'))) ) ), BoxRow( BoxCell(halign=left, "ListBox" ), BoxCell(halign=right, ListBox[LB]("one",["one","two","three"], onchange=SetOption(target='TF', Argument('LB'))) ) ), BoxRow(border=true, BoxCell( "Result" ), BoxCell( TextField[TF](10) ), BoxCell( Button("Close",Shutdown()) ) ) ) ) ) ): Display(M);