Search the Community
Showing results for tags 'field'.
-
// OnCreate event with UniDBLookupComboBox2 do begin ClientEvents.UniEvents.Values['beforeInit'] := 'function beforeInit(sender, config) {'+ ' config.listConfig = {'+ ' tpl: new Ext.XTemplate('+ ' ''<tpl for="."><div class="x-boundlist-item" style="'+ Font.ToStyleString(True) +'" data-qtip="{[this.getHint(values)]}">{[this.getVal1(values)]}</div></tpl>'', {'+ ' disableFormats: true,'+ ' getVal1: function(values){return values.val.substring(0, values.val.indexOf("====>>>>"))},'+ ' getHint: function(values){return values.val.substring(values.val.indexOf("====>>>>")+8)}'+ ' }'+ ' )'+ ' };'+ '}'; JSInterface.JSConfig('displayTpl', [JSInterface.JSStatement('Ext.create("Ext.XTemplate",''<tpl for=".">'',''{[this.getVal(values)]}'', ''</tpl>'', {getVal: function(values){return (values.val.indexOf("====>>>>")>-1?values.val.substring(0, values.val.indexOf("====>>>>")):values.val)}})')]) end;
- 5 replies
-
- 2
-
- unidblookupcombobox
- hints
-
(and 2 more)
Tagged with:
-
How can I perform TUniDBNumberEdit formatting when leaving the field EX: 0.25 -> +0.25 0.2 -> +0.20 In VCL I was formatting +0.00; -0.00 Thanks Zanona
- 5 replies
-
- TUniDBNumberEdit
- formatting
-
(and 1 more)
Tagged with:
-
How do I change the background color of tunimdbnumberedit when leaving the field? Thanks Zanona
- 6 replies
-
- change
- background
-
(and 2 more)
Tagged with: