A few tips:
(1) Set the string control to "limit to single line". Now enter accepts the entered name instead of going to a new line.
(2) Simply use an event for "value changed" of the string control. It will get triggered with every "enter".
(3) Set the keyfocus before the event structure.
See attached example (LabVIEW 6.1).