Hi Peter,
One might think so but I looked into this and found the following in help
under Textbox.AcceptsReturn...
".NET Compact Framework - Windows CE .NET Platform Note: Although you can
set AcceptsReturn to false, it always operates as true. If you want the
ENTER key to activate a particular button, you can derive a class from
TextBox and provide event handling code for ENTER when the KeyPress event
occurs."
--
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility
This posting is provided "AS IS" with no warranties, and confers no rights.
"PeterB" <(E-Mail Removed)> wrote in message
news:ew5$(E-Mail Removed)...
> Am I wrong when I say that setting AcceptsReturn in a textbox should
prevent
> \r\n characters in the text?
>
> Anyway, this seems to be possible, is it a CF limitation? Do I need to
check
> for those characters myself when parsing the text then?
>
> br,
>
> Peter
>
>