Jump to content

herculanojs

uniGUI Subscriber
  • Posts

    565
  • Joined

  • Last visited

  • Days Won

    12

Posts posted by herculanojs

  1. c is not a constructor

     

    I definitely can not understand what causes this damn error. Everything working normally, you updated the version and things that were working normally start to give problems.

    This has been a constant struggle.

     

     


    What does the core try to do that occurs?

    There has to be a message, something more friendly so we can understand and find the problem.

     



    I have an ERP operating on more than 300 100% unigui customers today.

    I can not stay with these problems, which occur in those versions.

    This discredits my software, and unigui itself.

     

    The change in the form of the messages was a headache that consumed many hours and inconveniences to the customers.

     

    You can not test a whole gigantic ERP like ours in search of small bugs because of the change of a version of unigui.

    Even more so than this occurs almost every day.

  2. After the migration from version 1424 to 1466, many things occurred due to the change of the js.

    Yet some things are still strange.

    In some completely normal situations, for example, a form that is being called in showmoal is not displayed in the foreground when the form is called.

     

    The form in the foreground example, is in showmodal, where the second form was called

     

    See example:

      form: = CreateForm ('TfrmObservation', false);

           if form <> nil then

           begin

                   form.bringTofront;

                     if form.ShowModal in [mrOK, mrYes] then

                     begin

     

                     end;

                end else

                form.Close;

           end;

     

    What could be causing these strange behaviors?

    post-1670-0-32395700-1530480053_thumb.jpg

  3. Solution for Lan

     

    Solution 1

    Share the local workstation printer.

    Declare the printer as a "local" printer to the server.

    Create a table like IP, Server_Printer_Name ( actually the local printer)

    When you push the "Print" button swich to the local printer based on IP ( IP evidently must be fixed )

    Generate and print the report, bar code etc.

     

    Solution 2

    System service on server polling a table for "to be printed" reports, bar codes etc.

    In the table you specify which report, parameters, to what printer etc.

    WebApp inserts the respective information in the table.

    System service generates and prints it .

    After print, service deletes or marks as done the respective record from table.

     

    I saw this solution work 24/7 for 5 bar code label printing applicators in a factory.

    Maybe you can replicate it.

    Only work on internal network

  4. We have now implemented support for fastreport, reportbuilder, and acbrbalanca

     

    My quarrel with the peripherals gave a truce
    Ideas and implementations are welcome.
    As suggestions for adapting to meet the mobile platform
    • Upvote 1
  5. Hi,

     

    Try to increase the value of UniServerModule.AjaxTimeout

    Are there any limits on the maximum value?
    Because I have specified a wait value of 10 minutes, and when a long query is no longer than 40 seconds, it is already showing the message quoted.
    Current timeout at 600000
  6. Hi,

     

    Have you tried to search answers on the forum?

     

    What options are set on the grid?

    Certainly. I usually do this. Maybe I could not find it the way I did, but I usually do it.

     

    But I did another search again, under other conditions, and found something related to 6 js, as well as a solution.
    But thank you, and forgive the hassle
    It is our pleasure to search the sim forum
     
  7. How can we maintain the color of the selected record when we perform the conditional color change of a particular record using the customdrawcell event

     

    In the example image, all records have met the condition that changed the color of the records, but it is not possible to identify which one is selected.

    post-1670-0-15781800-1528906799_thumb.jpg

  8. In the long processes executed in the server, and that the client waits for the processing, even presenting the screenmask is being shown message "connection error communication failure: retrying ..."

     

    This causes a false impression that the connection has really collapsed. But the process is running, the connection has not been interrupted. Only the process is time consuming and is waiting for a server resposata.

     

    How to avoid this behavior?

    post-1670-0-30022700-1528905628_thumb.jpg

    post-1670-0-66378000-1528905639_thumb.jpg

  9. Sherzod commented:

     

    It seems this is a bug of ExtJS

     

    Try this approach for now:

    MainForm -> Script:

    Add this:

     

    Ext.override(Ext.ZIndexManager, {
    onCollectionSort: function() {
    var zIndex = this.callParent();
    if(!this.front && this.topMost)
    this.front = this.topMost;
    return zIndex;
    }
    });

     

     

     

    Tanks Sherzod 

  10. Open calling next to the cradle

     

    there is a sample project in which the mentioned error occurs.

     

    There is a memo in the main project form that describes the steps to be performed to reproduce the error.

     

    To reproduce the problem follow the steps:

     

    1) click the Open form button 1

    2) In the open form click on Open Form 2

    3) Close of form 2

    4) Click on MenuItems

    Project1.zip

  11. I was using version 1425 and yesterday updated to the latest version 1464.

    What is happening is that at any given time if you click on a menu it does not open the menus. If it clicks again it opens but the items are frozen and do not close again in any way, just resetting the session.

  12. I have a strange behavior with TUniMenuItem after update to version 1.10.0.1464. It is frozen while the rest of the application continues to run.
     
    I have tried to debug some process running, but there is nothing. Just lock the menu
     
    Any suggestion
     

     

    post-1670-0-03126500-1528161025_thumb.jpg

  13. Something strange is happening with version 1.10.0.1459, when there is an exception in nested procedures.

    The example below is pretty simple, but in complex routines this is causing problems. I did not encounter this problem until the upgrade to this version.

     

     

    Example:

    procedure test;

    begin

             try

                test2;

             except

                  raise;

             end;

    end;

     

     

    procedure teste2;

    begin

             try

                test3;

             except

             on e: exception

               begin

                      MessageDlg (e.Message, mtError, [mbOK]);

               end;

             end;

    end;

     

    procedure test3;

    begin

             try

                 ... process

             except

             on e: exception

               begin

                      MessageDlg (e.Message, mtError, [mbOK]);

               end;

             end;

    end;

  14. I am facing a difficulty with the organization issues of the columns of a unidbgrid.

    My grids are created in runtime, and I can not find an organization pattern that is being used for unidbgrid.

     

    In the attached image, the grid was created in the following column sequence:

     


    1) GroupHeader "Movimento" (columns: empresa,código,data)

    2) Cliente (columns: pessoa,nome pessoa,cnpj/cpf)

    3) nota (columns: modelo,serie,nota,chave)


     

    After the exhibition was:


    1) Movimento (columns: empresa,codigo,data)

    2) Nota (columns: chave,modelo,serie,nota)

    3) caixa (caixa,data faturamento, nome caixa)


     

    Etc.

     

    When the grid is mounted the layout always differs from the creation order.

    I have not located any field or control index for this.

     

    How can I solve this, so that the columns remain in position as I create them?

    post-1670-0-53864200-1527709201_thumb.jpg

×
×
  • Create New...