Jump to content

Search the Community

Showing results for tags 'unidblookupcombobox'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 11 results

  1. // 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;
  2. How can i set KeyValue to load text of an item on UniDBLookupComboBox when it is with the property "RemoteQuery" set to "True"? When i use a Data Source linked to the "ListSource" this works perfectly. But when i try to do using RemoteQuery, the UniDBLookupComboBox field doesn't display the selected item. I tried to run manually the event to force item load: UniDBLookupComboBoxEmployeeRemoteQuery('My item value', UniDBLookupComboBoxEmployee.Items); UniDBLookupComboBoxEmployee.KeyValue := 'My item value'; But it doesn't work, the field keeps empty. How to reproduce: Add a button to "DBLookupComboBox - Custom Remote Query" example and in the "OnClick" event try to select an item like: UniDBLookupComboBox1.KeyValue := 1651; // or [].Text := '1651';
  3. I'm having some problems when trying to open some UniDBLookupComboBox, most of the time I have to double-click. And when closing or canceling anything, DBGrid adds the columns, and when closing the frame, the message that is described below appears I still forward a video showing the error. _rsov_(O2D9,0);setStoreRow(O255,2147483647,2147483647,{"0":"","_0":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","1":"","_1":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","2":"","_2":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","3":"","_3":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","4":"(MEMO)","_4":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","5":"","_5":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","6":"","_6":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","7":"","_7":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","8":"","_8":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","9":"","_9":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","10":"","_10":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","11":"","_11":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","12":"","_12":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","13":"","_13":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","14":"","_14":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","15":"","_15":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","16":"","_16":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","17":"","_17":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","18":"","_18":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","19":"","_19":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","20":"","_20":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","21":"","_21":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","22":"","_22":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","23":"","_23":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","24":"","_24":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","25":"","_25":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","26":"","_26":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","27":"","_27":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","28":"","_28":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","29":"","_29":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","30":"","_30":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","31":"","_31":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","32":"","_32":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","33":"","_33":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","34":"","_34":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","35":"","_35":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","36":"","_36":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","37":"","_37":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","38":"","_38":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","39":"","_39":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","40":"","_40":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","41":"","_41":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","42":"","_42":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","43":"","_43":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","44":"","_44":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","45":"","_45":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","46":"","_46":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","47":"","_47":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","48":"","_48":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","49":"","_49":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","50":"","_50":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","51":"","_51":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","52":"","_52":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","53":"","_53":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","54":"","_54":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","55":"","_55":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","56":"","_56":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","57":"","_57":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","58":"","_58":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","59":"","_59":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","60":"","_60":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","61":"","_61":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","62":"","_62":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","63":"","_63":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","64":"","_64":"{fc:'#0000FF',fts:'font-weight:bold;font-size:12px;font-family:Calibri'}","_x":1,"_r":-1},false);_cgds_(O251);_rfes_(O2D9); How should I proceed ? 20200928_163035.mp4 U_framePTR_Bens.rar
  4. I have a UniDBLookupComboBox on a form that has the listsource property bound to a datasource that is bound to a TFDQuery. In this form I have a button that opens another form where I insert into the database in the same table to which my UniDBLookupComboBox pulls the items. What happens is that right after I register a new record in the table, and trying to use KeyValue with the new item is not setting the value in UniDBLookupComboBox. Note: clicking on the combo already appears the new item in the list. Does anyone know the best way to do this? My code: procedure TFormOrdemServico.imgPesquisaCombustivelClick(Sender: TObject); var FormCadastroCombustivel : TFormCadastroCombustivel; begin if UniApplication.FindComponent('FormCadastroCombustivel') <> nil then Exit; ShowMask('Aguarde...'); UniSession.Synchronize(); FormCadastroCombustivel := TFormCadastroCombustivel.Create(UniApplication); HideMask; FormCadastroCombustivel.ShowModal(); cbCombustivel.ListSource.DataSet.Refresh; if FormCadastroCombustivel.ModalResult = mrOk then begin cbCombustivel.KeyValue := FormCadastroCombustivel.qryTemplateCOMBICOD.AsInteger; end; FreeAndNil(FormCadastroCombustivel); end;
  5. Доброе время суток! подскажите как выставить компоненту UniDBLookupComboBox начальное значение, типа ItemIndex.
  6. Good afternoon: I have the following problem: - UniDBGrid - One of the columns is a UniDBLooKUpComboBox - Different rows can have different items in the UniDBLooKUpComboBox of the same column. How could I do it? Thanks in advance
  7. I'm working with an evaluation copy of uniGUI. I'm having difficulty implementing a uniDBLookupComboBox. Link the uniDBLookupComboBox to a primary TDataset using the DataSource and DataField properties. Link the uniDBLookupComboBox to a lookup TDataset using the ListSource, KeyField and ListField properties. Open the respective datasets. Insert a new record into the primary TDataset. (This will result in an "empty" row.) This causes an EVariantTypeCastError exception. 'Could not convert variant of type (UnicodeString) into type (Integer)' I would appear that the uniDBLookupComboBox is attempting to Locate the corresponding lookup record using a null value from the primary dataset. Is there a way around this difficulty? Many thanks, MV
  8. Hi, can anybody give some details about rules of ListFormat property in UniDBLookupComboBox ? Thak you, Marc
  9. Merhaba; UniDbLookupComboBox ile 245 veri ile bağlıyorum. Seçim yapmak istediğimde Çok fazla bekliyor ve sonrasında sayfa yanıt veremez duruma geliyor. 3-4 ay önceki versiyonda yine aynı sayıdaki veride bu işlemi sorunsuz çok hızlı yapabiliyordum Şimdi tesadüfen fark ettim. UniDbLookupComboBox tam verimli çalışabilmesi için max kayıt sayısı var mıdır veya bilmediğim bir ayarını turue veya false yapsak düzelir mi. Yardımlarınızı rica ederim. İyi çalışmalar.
  10. For those having problems allowing empty value or the selection of only items in list with incremental search in an editable DBLookupComboBox... (i was one too ) Add to the DBLookupCombobox -> ClientEvents -> ExtEvents -> OnAfterrender function OnAfterrender(sender){ sender.allowBlank=true; sender.editable = true;//This allows you to edit the DBLookupCombobox sender.forceSelection=true;//This line allows only item in list to be selected sender.beforeBlur= function(){ var value = this.getRawValue(); if(value == ''){ this.lastSelection = []; } this.doQueryTask.cancel(); this.assertValue(); } } I face a problem on setting null value to the coresponding field at server because the above trick does not set null value to field. I tryed and an ajax request to achieve the update.. but it keeps the last keyfieldvalue of the field.. if anyone can help
  11. Hi, i have a question about the UniDBLookupComboBox: Is it possible to manually/programmatically open the dropdown of the component? Like you simulate the press on it so it opens the dropdown list. Thanks.
×
×
  • Create New...