livecode - I lose the selected text while clicking the popup menu -


i lose selected text while clicking popup menu (clicking right button) in textfield "mytextfield". using code. choice 2 & 3 works fine because not need selected option, choice 1 doesn't works. there alternate way select?.

on menupick pitemname    put selectedtext of field "mytextfield" ftext       switch pitemname       case "choice 1"     answer ftext     break  case "choice 2"     answer "bye"     break   case "choice 3"         answer "please"     break    end switch end menupick 

set traversalon of popup button false.


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -