On Nov 22, 2009, at 2:11 PM, Steve wrote: > I cannot determine when a user hits the return key when using the > function below. > > ignore = fn CreateEditUnicodeTextControl ( window( _wndRef ), #r, 0, > _false, tfs, @c ) > fn MakeIntoFBButton( c, _userEdit ) That code creates an EUTC and registers it for FB events. How do you trap events in this EUTC? Can we see some code in event trapping? ( assume this is not CE, but please let us know if it is ). > > Hitting Enter will close the edit control, but Return will not and > it will place a return in the edit field text. Sounds like there is some default button on this window? What is the behavior you want for Return and Enter? > Is it possible to filter this event in FB5 and how ? Definitely in CE. Is this CE? Brian S