SayeyeZohor Posted December 16, 2019 Share Posted December 16, 2019 how to simulate enter key = #13 in checkbox to change cursor focus to next component? @Sherzod Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 16, 2019 Share Posted December 16, 2019 54 minutes ago, SayeyeZohor said: how to simulate enter key = #13 in checkbox to change cursor focus to next component? Can you please explain in more detail? Maybe you wanted like in this demo?: \FMSoft\Framework\uniGUI\Demos\Desktop\FormNavigate Quote Link to comment Share on other sites More sharing options...
SayeyeZohor Posted December 16, 2019 Author Share Posted December 16, 2019 5 minutes ago, Sherzod said: Can you please explain in more detail? Maybe you wanted like in this demo?: \FMSoft\Framework\uniGUI\Demos\Desktop\FormNavigate unicheckbox is not access keypress Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 16, 2019 Share Posted December 16, 2019 Have you seen this demo? \FMSoft\Framework\uniGUI\Demos\Desktop\FormNavigate Quote Link to comment Share on other sites More sharing options...
SayeyeZohor Posted December 16, 2019 Author Share Posted December 16, 2019 18 minutes ago, Sherzod said: Have you seen this demo? \FMSoft\Framework\uniGUI\Demos\Desktop\FormNavigate tnx Quote Link to comment Share on other sites More sharing options...
belo Posted December 16, 2019 Share Posted December 16, 2019 // Developed by Eduardo Belo // UniCheckBox > ClientEvents > UniEvents function beforeInit(sender, config) { config.keyMap = { ENTER: { handler: function() { if (sender.checked) { sender.setValue(false); } else { sender.setValue(true); } } } } } Best Regards, Eduardo Belo 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.