webdev Posted May 28, 2018 Share Posted May 28, 2018 Hi. I have a dynamic application that configures buttons with simplified scheduling shortcuts (in the Form.OnCreate event works correctly). For TUniDBMemo I added the ClientEvents.ExtEvents.afterrender (in the Form.OnShow event and then it worked as well.) Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted September 20, 2018 Share Posted September 20, 2018 On 5/25/2018 at 6:03 AM, Sherzod said: Hi, One possible solution: UniMemo -> ClientEvents -> ExtEvents -> function afterrender(sender, eOpts) { sender.bodyEl.dom.addEventListener( 'keydown', function(e) {if (e.key=='Enter') {e.stopPropagation()}} ); } Best regards, mine does not work either Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 20, 2018 Share Posted September 20, 2018 Works for me Quote Link to comment Share on other sites More sharing options...
eduardosuruagy Posted September 20, 2018 Share Posted September 20, 2018 After I activated the property from my form to True it worked fine MonitoredKeys.KeyHandleAll: = True 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.