Jump to content
uniGUI Discussion Forums

FFREDIANELLI

uniGUI Subscriber
  • Content Count

    95
  • Joined

  • Last visited

Posts posted by FFREDIANELLI


  1. Please , there is no MainmForm -> ClientEvents -> UniEvents -> Ext.form.Panel [form] -> function form.afterCreate, on my 1481 version, somthing that i can change to not allow auto fill ?

    image.png.2a0fa04efff78d2535d15708a4603de3.png


  2. 35 minutes ago, Sherzod said:

    Can you explain? 

    On pressing of this button (to search) i turn visible a dblookupcombobox

    image.thumb.png.2ce19b45d9afcf829168aed5902b25ba.png

    image.png.56dbbc59791c9aab3a2fc9af8cd22842.png

    I would like to show opened to the user do not need to click again...

    image.png.9c3f449d14cb63e8f18c0dab53969cde.png

    on the onclick of the button search i tryed to put

    image.png.40c623ad2ea17eb5cae4d66747e6d7f4.png

    but without effect, then i tryed this

    image.png.3c046632f33f68de21b35a87cee64d18.png

    but without any positive effect, can you help me ?

     


  3. On 1/17/2019 at 3:31 PM, Sherzod said:

    Can you make a simple testcase for this?

    Last test with unidac of the same provider Devart,  it works.. so the problem is only with SDAC, the performance is not the same with unidac , but i can use it... but plese Farshad, when possible take a look.

    my test with memory file ok, sdac error, ado ok, unidac ok.

    image.thumb.png.a44bcf6a8ef714a428894e5de3130460.pngThis image if with unidac working.


  4. 21 hours ago, FFREDIANELLI said:

    Tested with readonly and not readonly, no effect.

    Changed just for test from SDAC to ADO, with ado works... so unigui is incompatible with SDAC in this component (dbcombobox and dblookupcombobox) , all the others work ok, the problem is that ado is too slow for sql server , Sdac use native access to sql server , is of the same suplier  os unidac (DEVART) , please download the demo sdac and make some tests.

    I will test with unidac now.

    image.thumb.png.0cc19e3e732306f9e282a0ed2d496ec1.png


  5. 36 minutes ago, Sherzod said:

    Hi,

    Fieldkind of your field = fkLookup ?

    Sorry ? can you be more clear?  what i have to do different from vcl ? i tested the same files and properties on a vcl and it works, i do not have to change property of field to fklookup on vcl. I pasted the VCL for test.

    image.png.ca3ddbd406fafc174e37e61c50fd9313.png


  6. Please some help on dblookupcombobox , the left one was copied form demo and works well, the write one have the same properties, keys, etc.. but do not show arrow to open lookup,  the demo use clientdataset, i use devart tmsquery (sql server), if i navigate it show the information updated, but do not open nothing (lookup).

    image.png.6e41e2d8e5142930d0ab8c11157f05f7.png 


  7. Hi, Please see this test case. In this \FMSoft\Framework\uniGUI\Demos\Desktop\HTMLFrame demo there is no chart been generated with 'afterscript', if i put other text on top of it the text is show, so the html is refreshed, but the afterscript is not updated...and the chart return white like MarBar77 or im losting some point on all this chart generation process...

     

     


  8. Please how to change the values of the chart and update the htmlframe ? I whant to navigate in a montly grid and update the chart... i changed the content of afterscript and call htmlframe.refresh, but with no effect...

    onbuttonclick....

    unihtmlframe1.AfterScript.Clear;
    unihtmlframe1.afterscript.add('$(document).ready(function()');
    unihtmlframe1.afterscript.add('{');
    unihtmlframe1.afterscript.add('showfunnel();');
    unihtmlframe1.afterscript.add('});');
    unihtmlframe1.afterscript.add('');
    unihtmlframe1.afterscript.add('function showfunnel()');
    unihtmlframe1.afterscript.add('{');
    unihtmlframe1.afterscript.add('var data =');
    unihtmlframe1.afterscript.add('[');
    unihtmlframe1.afterscript.add('[''1'', 5000000],');
    unihtmlframe1.afterscript.add('[''2'', 2500000],');
    unihtmlframe1.afterscript.add('[''3'', 1000000],');
    unihtmlframe1.afterscript.add('[''4'', 500000],');
    unihtmlframe1.afterscript.add('[''5'', 400000],');
    unihtmlframe1.afterscript.add('[''6'', 300000],');
    unihtmlframe1.afterscript.add('[''7'', 200000],');
    unihtmlframe1.afterscript.add('[''8'', 100000]');
    unihtmlframe1.afterscript.add('];');
    unihtmlframe1.afterscript.add('var options =');
    unihtmlframe1.afterscript.add('');
    unihtmlframe1.afterscript.add('{');
    unihtmlframe1.afterscript.add('');
    unihtmlframe1.afterscript.add('chart: {');
    unihtmlframe1.afterscript.add('animate:300,');
    unihtmlframe1.afterscript.add('bottomPinch:1,');
    unihtmlframe1.afterscript.add('curve:');
    unihtmlframe1.afterscript.add('{');
    unihtmlframe1.afterscript.add('enabled: false,');
    unihtmlframe1.afterscript.add('height:35,');
    unihtmlframe1.afterscript.add('}');
    unihtmlframe1.afterscript.add('},');
    unihtmlframe1.afterscript.add('label: {');
    unihtmlframe1.afterscript.add('format: ''{l}: {f}'',');
    unihtmlframe1.afterscript.add('},');
    unihtmlframe1.afterscript.add('tooltip: {');
    unihtmlframe1.afterscript.add('enabled: true,');
    unihtmlframe1.afterscript.add('},');
    unihtmlframe1.afterscript.add('');
    unihtmlframe1.afterscript.add('');
    unihtmlframe1.afterscript.add('');
    unihtmlframe1.afterscript.add('block: {');
    unihtmlframe1.afterscript.add('dynamicHeight: true,');
    unihtmlframe1.afterscript.add('minHeight: 35,');
    unihtmlframe1.afterscript.add('hoverEffects: true,');
    unihtmlframe1.afterscript.add('highlight: true,');
    unihtmlframe1.afterscript.add('fill:');
    unihtmlframe1.afterscript.add('{');
    unihtmlframe1.afterscript.add('type: ''gradient'',');
    unihtmlframe1.afterscript.add('}');
    unihtmlframe1.afterscript.add('},');
    unihtmlframe1.afterscript.add('');
    unihtmlframe1.afterscript.add('');
    unihtmlframe1.afterscript.add('};');
    unihtmlframe1.afterscript.add('');
    unihtmlframe1.afterscript.add('var chart = new D3Funnel(''#funnel'');');
    unihtmlframe1.afterscript.add('chart.draw(data, options);');
    unihtmlframe1.afterscript.add('');
    unihtmlframe1.afterscript.add('}');
    unihtmlframe1.Refresh;

    image.thumb.png.62f8332feb52060db034ad87084e1c96.png


  9. Sherzod, thanks again, but can you put your test file, the mine is not working, something is not right, may be the folders where i have to put this files, or the command in the apply button ? put a refresh...


  10. :blink:  my is white... , may you post here your application test with the files that you used ? i downloaded the version 4.13 , renamed the file d3.js to d3.v4.js and put in a subdirectory of project1 directory with the name /files

    but nothing works... sorry... 

     


  11. Thanks for the answer,

    what do i have to put in apply button ? 

    the files directory is inside the project directory ?

    in case of idapi do i have to put the files in some special directory ? or create a directory just for this application ?

     

×