Winform TextBox seems to ignore AcceptsReturn

  • Thread starter Thread starter mwindham
  • Start date Start date
M

mwindham

Guest
I have a winform with tabpages with TextBoxs. The one TextBox that I was working on and vexing me has AcceptsTab=true, AcceptsReturn=true, Multiline, Scrollbars=Vertical, txtJ->DataBindings->Add(gcnew Binding("Text", BSJ, "Page", true)), Page is nvarchars(MAX), Data adapter, DataSet all working fine. In the same application I adding a Test tabPage and inserted TextBox with no bindings, and just like the bound TextBox, won't accept a return. A brand new winform with no bindings works fine with return. There are this->AcceptButton=nullptr in both. I tried Binding("Text", BSJ, "Page", false). I use a button "save" when clicked handles updates to DataTable and server because of columns created and modified being on server. What am I missing to get a return accepted in the text other than ctrl-enter?

Continue reading...
 
Back
Top