def tf = {TextField value = "hoge"} {tf.ui-object.add-event-handler {on PointerPress do {tf.select-nothing} } }