AntonioCuomo Posted December 13, 2020 Share Posted December 13, 2020 When I press the enter key in unimemo the cursor doesn't go to the next line, why? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 13, 2020 Share Posted December 13, 2020 4 hours ago, AntonioCuomo said: When I press the enter key in unimemo the cursor doesn't go to the next line, why? Sorry, what's happening? Quote Link to comment Share on other sites More sharing options...
AntonioCuomo Posted December 13, 2020 Author Share Posted December 13, 2020 If j press the enter the cursr not go to next row (in unimemo) Quote Link to comment Share on other sites More sharing options...
Frederick Posted December 14, 2020 Share Posted December 14, 2020 3 hours ago, AntonioCuomo said: If j press the enter the cursr not go to next row (in unimemo) Try the following:- UniMemo1 -> ClientEvents -> ExtEvents ... add Ext.Js event for AfterRender: function afterrender(sender, eOpts) { sender.bodyEl.dom.addEventListener( 'keydown', function(e) {if (e.key=='Enter') {e.stopPropagation()}} ); } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.