Search the Community
Showing results for tags 'key'.
-
Hi, I need to perform default key action before focusing to the next unidbgrid column (change enter key to tab key) because sometimes data is not posted to database for now i use the code : function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts) { columns[i].editor = { selectOnFocus: true, xtype: 'numberfield' ,minValue: 0 ,allowBlank : false ,groupable : false }; .... if (columns[i].getEditor()) { columns[i].getEditor().on('specialkey', function (field, e) { if (e.getKey() == 13) { // perform default key action, force update current edit value // before focusing to the next column e.keyCode = e.TAB; return e.keyCode; ..... } Environment Windows 10 Delphi Tokyo Unigui 1.0.0.1399 Google Chrome 59.0.3071.115 Thank you
-
Replace tab key by enter, similar to that I sang in VCL?
eduardo.junqueira posted a topic in General
Replace tab key by enter, similar to that I sang in VCL? I bought premium license with suporte@mobview.com.br email -
hi all I developed an accounting software (VCL mode), I use DBGrid with the onkeypress event for moving the cursor to the next column, I search the forum there is some solution but the key to enter the mode changes in editon not the next column are there a solution for this problem??