Jump to content

Georges Soares

uniGUI Subscriber
  • Posts

    128
  • Joined

  • Last visited

  • Days Won

    14

Posts posted by Georges Soares

  1. I have a very strange case here, I have 2 internet links from different companies, one with 200mb and the other with 600mb.
    Using the 200mb link to access the cloud server, everything works normally without any crashes or freezes.
    When I use the 600mb link, the uniGUI application freezes in simple moments, such as clicking a button just to show a hidden panel, or to insert a record.
    One difference I saw is in tracert, where the 200 arrives faster than the 600, but both arrive without packet loss.
    Freezing is quick for a few seconds, but it gets in the way and bothers the user.
    I've already tried to change several things in the application, but as I said, in very simple moments it freezes, things that can't be changed.

    The question is, could this difference in tracert indicated in the attached image cause this failure?
    I compiled the application in version 1571 and then in 1572.

    winmtrX.png

  2. I had the same problem, and to solve the best solution I found was:

    1. Place a TUnimDBEdit

    2. Leave InputType blank as default

    3. ExtEvents in Painted put

     

    function painted(sender, eOpts)
    {

    var me=sender.inputElement;
        if (me) {
            me.dom.setAttribute('inputmode', 'decimal');
        }

    }

    so it will accept decimal number.

     

     

    ** Em Portugês ***

     

    Tive esse mesmo problema, e para resolver a melhor solução que achei foi:

     

    1. Colocar um TUnimDBEdit

    2. InputType deixar em branco como no padrão

    3. ExtEvents no Painted colocar

     

    function painted(sender, eOpts)
    {

    var me=sender.inputElement;
        if (me) {
            me.dom.setAttribute('inputmode', 'decimal');
        }

    }

     

    assim vai aceitar número decimal.

     

     

     

     

  3. Just for information in case someone needs to perform this procedure, this is the adjusted way to execute the search and not give error in a second search.

     

      with UniPDFFrame1, JSInterface do
      begin
        UniSession.AddJS(
        'var pdfApp = document.getElementsByName('+JSName+'.ifName)[0].contentWindow.PDFViewerApplication; '+
        '    pdfApp.findBar.open();'+
        '    $(pdfApp.findBar.findField).val("'+vP+'");'+
        '    var event = document.createEvent("CustomEvent");'+
        '    event.initCustomEvent("findagain", true, true, {'+
        '        query: "'+vP+'",'+
        '        caseSensitive: $("#findMatchCase").prop("checked"),'+
        '        highlightAll: $("#findHighlightAll").prop("checked", true),'+
        '        findPrevious: undefined'+
        '    });'+
        '    pdfApp.findBar.dispatchEvent("");'+
        '    ');
      end;

  4. How to install two versions of uniGUI on the same PC in different Delphi, to be able to migrate your applications smoothly. is the Last Free Video Class of this Stage, the others are for Students and those who collaborate through the link: To Contribute, use the Link: https://pag.ae/7VU5_Rpuq Symbolic Value, whoever wants to and can contribute with more just change the number of items ... My WhatsApp (65) 9 8415-4118 My email: georges@angelsistemas.com.br Thank you and let's go with faith ...

     

    Como Instalar duas versões do uniGUI no mesmo PC em Delphi diferente, para poder migrar suas aplicações com calma. é a Ultima Vídeo Aula Free dessa Etapa, as outras é para os Alunos e quem colaborar pelo link: Para Contribuir, use o Link: https://pag.ae/7VU5_Rpuq Valor Simbólico, quem quiser e puder contribuir com mais é só mudar a quantidade de itens... Meus WhatsApp (65) 9 8415-4118 Meu email: georges@angelsistemas.com.br Obrigado e vamos com fé...

    • Upvote 2
  5. Always seeking to help the developers, we held on September 9, 10, 11 in-person training for 5 people from Rondônia at the headquarters of Angel Sistemas in Cuiabá-MT-BR.

    Let's go, uniGUI in the vein, uniGUI forever.

    WhatsApp Image 2019-09-11 at 14.58.46.jpeg

    • Like 5
  6. When installing 1504 or 1506 in Tokyo gives the error of the image, I have tried everything, clean everything from the previous installation and it is no use, starting a new project when it will open the Form already gives the error, in existing projects the error in all forms.

    only 1502 installation was successful, but I noticed that the application started to freeze the screen, out of nowhere the application darkens as if it had called screenmask ...

     

    image.png.787fbd5cd74fc964f1ca84be6ac55d2a.png

  7. Realmente Memory Leaks é complicado, mas seguindo os passos e testando parte a parte consegue resolver meus amigos, tive também uns BO com Memory Leaks, por fim era duas StringList que eu criava e não tinha dado Free nelas,

  8. Geralmente quem usa a versão 1397 é pirata, aí terá realmente vários problemas, se você tiver a licença original, use as versões mais recentes, se não tiver, busque comprar, quem é meu aluno tem 10% de desconto na compra e ainda pode parcelar em 12x com cartão bandeira nacional. Se não quiser adquirir o meu curso, ainda sim pode parcelar em 12x. O Farshad e sua equipe está fazendo um belo trabalho com o uniGUI, o valor que você investir na compra terá um retorno rápido com os webapp que fizer. 

    • Upvote 1
  9. Sorry, it was just to simulate the situation. I'll explain better, I'm testing ways to use Bootstrap, and I put the input html in the label, and I'd like to get the value typed there.

  10. I need to run a client call to change a LABEL

    I do this:

     UniSession.AddJS(UniLabel2.JSName + '.setText("Georges")');

    and then I need to get this value on the server, and I do this, but it does not come with the changed value but the original.

     UniEdit1.Text := UniLabel2.Text 

     

     

×
×
  • Create New...