Text field action

I made a script to choose a command from all my libraries.

It triggers this dialog asking the user to enter the string to search:

For now, the text field is set like this:

searchField's setTarget:me
searchField's setAction:"updatePopupMenu:"

I would like to set the action of the text field to be sent when the user hit tab instead of return.
Can textDidEndEditing be of any help with this?
And how to implement it?

Try this:

searchField's |cell|()'s setSendsActionOnEndEditing:true

Perfect, as always!

:wink: