Jump to content

When UniButtonEdit & UniDBButtonEdit is ready?


Masteritec

Recommended Posts

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

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).

Search.png

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

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', []);
            }
        }
   };   
}

 

1427877950_3rdButtoniconoverlap.png.ccbb74f62cb7edd5437fcb66a1f81914.png

Link to comment
Share on other sites

  • 2 weeks later...
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', []);
            }
        }
   };   
}

 

1427877950_3rdButtoniconoverlap.png.ccbb74f62cb7edd5437fcb66a1f81914.png

Any solution above case?

Link to comment
Share on other sites

×
×
  • Create New...