Did you check that last, possibly important:
"unless I set the TabStop property to False for txtStringLineInput."
The flag checking code should go into the enter event for the control
that would normally have the focus after pressing the Return key. If
there's no tab stop then that control won't be entered, so no Enter
event..