|
El handler CheckClick cambialo por lo siguiente:
on CheckClick me -- sent by mouseUp
if the ticks - myClickTicks < 30 then
-- Fast click: hold list open and get ready to react to the next click
myClickTicks = 0
else
if myLasthilite then
-- Treat selection and close
mySelectedItem = myLastHilite
member("otroField")= sprite(me.spriteNum).member.text.line[mySelectedItem]
end if
CloseList me
if myAction and myLastHilite then
Execute me
end if
end if
myLastHilite = 0
end CheckClick
Solo se le agrega la siguiente linea.
member("otroField")= sprite(me.spriteNum).member.text.line[mySelectedItem]
Saludos
Claudio
|