Masteritec Posted June 19, 2019 Share Posted June 19, 2019 Hi, I plan to buy license but still wait UniButtonEdit & UniDBButtonEdit, when can ready? Cause we convert from desktop need this 2 components. Thanks Regards, Chin Link to comment Share on other sites More sharing options...
Sherzod Posted June 19, 2019 Share Posted June 19, 2019 41 minutes ago, chintatlim said: I plan to buy license Hi, Thank you for your interest in UniGUI! 42 minutes ago, chintatlim said: but still wait UniButtonEdit & UniDBButtonEdit Sorry, for what purpose do you want to use? Link to comment Share on other sites More sharing options...
Masteritec Posted June 20, 2019 Author Share Posted June 20, 2019 On 6/19/2019 at 4:26 PM, Sherzod said: Hi, Thank you for your interest in UniGUI! Sorry, for what purpose do you want to use? For select master data, open search screen. Text Edit is read only, and 2 buttons (First is down button trigger Quick Search another is ... button trigger Advance Search). Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 20, 2019 Share Posted June 20, 2019 You can use combobox with triggers. Please check C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\ComboBox Triggers Link to comment Share on other sites More sharing options...
Masteritec Posted June 21, 2019 Author Share Posted June 21, 2019 9 hours ago, Hayri ASLAN said: You can use combobox with triggers. Please check C:\Program Files (x86)\FMSoft\Framework\uniGUI\Demos\Desktop\ComboBox Triggers We already try ComboBox Trigger, but facing 2 issues. 1. ReadOnly set to True, then button will not come out. (If use client event to set config.editable=false;, this can work but i think is not efficient due to every ComboBox need set client event.) 2. If use client event to set config.editable=false, when user after select code and use mouse focus it, final TAB to go next enter will be clear the text. Please see attached video. Test in Web Browser : Google Chrome, Microsoft Edge, Mozilla FireFox. ComboBox Trigger Issue.mp4 Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 21, 2019 Share Posted June 21, 2019 Hi To make combobox editable:=False, please set style one of this (csDropDownList, csOwnerDrawFixed, csOwnerDrawVariable) For tab issue, can you please create test case? Link to comment Share on other sites More sharing options...
Masteritec Posted June 21, 2019 Author Share Posted June 21, 2019 We find another solution which is easy for us to do.. But we facing that we unable to add 3rd button with text in TuniEdit and the 3rd button is same icon with first icon function beforeInit(sender, config) { config.editable=false; config.triggers = { search: { cls: 'x-form-trigger', handler: function() { ajaxRequest(sender, '_QSEACH_BANK', []); } }, search2: { cls: 'x-form-search-trigger', handler: function() { ajaxRequest(sender, '_ASEACH_BANK', []); } }, add: { text: '+', handler: function() { ajaxRequest(sender, '_ADD_BANK', []); } } }; } how to add a button with text? Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted June 21, 2019 Share Posted June 21, 2019 You can't add text to trigger. It can be only icon. Also you don't have to use this client side code. Just set Style := csDropDownList and add 3 triggers. 1 Link to comment Share on other sites More sharing options...
Masteritec Posted June 21, 2019 Author Share Posted June 21, 2019 Hi, Currency i using TUniEdit to add 3 button , the 3rd button i using cls: 'pictos pictos-add', but add icon is overlapping (Refer picture below), any idea to solve this issue? function beforeInit(sender, config) { config.editable=false; config.disabledCls = '_x-item-disabled'; config.triggers = { search: { cls: 'x-form-trigger', handler: function() { ajaxRequest(sender, '_QSEACH_BANK', []); } }, search2: { cls: 'x-form-search-trigger', handler: function() { ajaxRequest(sender, '_ASEACH_BANK', []); } }, add: { cls: 'pictos pictos-add', handler: function() { ajaxRequest(sender, '_ADD_BANK', []); } } }; } Link to comment Share on other sites More sharing options...
Masteritec Posted July 1, 2019 Author Share Posted July 1, 2019 On 6/21/2019 at 11:56 PM, Masteritec said: Hi, Currency i using TUniEdit to add 3 button , the 3rd button i using cls: 'pictos pictos-add', but add icon is overlapping (Refer picture below), any idea to solve this issue? function beforeInit(sender, config) { config.editable=false; config.disabledCls = '_x-item-disabled'; config.triggers = { search: { cls: 'x-form-trigger', handler: function() { ajaxRequest(sender, '_QSEACH_BANK', []); } }, search2: { cls: 'x-form-search-trigger', handler: function() { ajaxRequest(sender, '_ASEACH_BANK', []); } }, add: { cls: 'pictos pictos-add', handler: function() { ajaxRequest(sender, '_ADD_BANK', []); } } }; } Any solution above case? Link to comment Share on other sites More sharing options...
Recommended Posts