Jump to content

Andriws Luna

uniGUI Subscriber
  • Posts

    32
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Andriws Luna

  1. Hi! Thank you for detecting this flaw in my code. I mentioned that the component was "more stable" and not "completely stable", not least because the unigui (which is paid for) is not completely stable. I developed this code on my own, without any help, so there are likely to be flaws. Then use it at your own risk. Anyway, your comment helped me to find the problem and solve it. Please update your project from Git.
  2. Put the grid in a frame, then free and re-create the frame with new options. I'm using this and it's works.
  3. Fiz baseado neste: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/gauge-solid/
  4. Hello everyone! A while ago I looked for a component or something that made it easy to use Highcharts in Unigui but I was unsuccessful. So I decided to develop my own component to do this. After 2 months of work is in a more stable version and decided to share with the community. I remind you that Highcharts is free for personal use only. Download from github: https://github.com/andriwsluna/Unigui-Components With this component it is possible to generate a chart with only 6 lines of code. Follow : EchoHightChart1.HighChartOptions.title.text.Value := 'Introduction'; EchoHightChart1.HighChartOptions.series.Datasource.DataSet := FDMemTable1; EchoHightChart1.HighChartOptions.series.List.FieldNameForSerie := 'Operation'; EchoHightChart1.HighChartOptions.series.List.FieldNameForX := 'month'; EchoHightChart1.HighChartOptions.series.List.FieldNameForY := 'value'; EchoHightChart1.Load; Note that there is a Datasource for data access. See demo: PM me to contribute with this project. Thanks.
  5. Este é um problema do Firemonkey em si. Eu uso a mesma versão do Delphi que você e tive o mesmo problema mesmo em aplicativo sem webbrowser. Existe uma solução para ele na internet, uns comandos para colocar em alguns eventos. Estou sem tempo para procurar agora mas sei que tem pois eu já usei. Espero ter ajudado. Talvez no Delphi Rio já tenha sido resolvido.
  6. No ServerModule tem esta propriedade, porém, só funciona na versão pro. Versão trial este timeout é fixo, afinal, se não ninguém compraria
  7. This happened to me. I reinstalled Delphi and it worked.
  8. Coloque isso ReportMemoryLeaksOnShutdown := True; ao fechar aplicação (não é abortar pelo delphi), todos os vazamentos de mórias serão mostrados. Leia de baixo para cima os nomes das classes. Procure pelas classes de seu projeto e verifica todos os programas que criam ela e não destroem. Um bom programa não pode apresentar nenhum memory leak. Minha sugestão é, vá abrindo pequenas partes da aplicação e fechando-a, até descobrir qual programa tem o vazamento. Se você abrir a aplicação e fazer um monte de coisa, no final você não saberá em qual tela ou processo o erro se encontra.
  9. Press F12, go to Network tab copy the request of "www.google.com". Open a HTTP program (I'm using Postman) and import the cURL. Send the request and verify that the content is unrecognizable Because te content-enconding is "br" in my case. Uncheck the header "accept-encoding" or modify to only "gzip" and re-send request. I'ts work, the content is "gzip". How to solve this? I do not know. I think it's because of the ExtJS iFrame config.
  10. Yes, it does. I could extend the class to avoid having to write this code in all cases. But, there is another fact that is keeping me from using datetimepicker. Please see the topic below:
  11. It did not work out as I expected. Actually accepted the value "31012019", but the mask is not visible. I need to be able to type without the mask and show it after typing.
  12. The test in http://18.231.121.146:8077/
  13. Bruno, o que estás fazendo é algo estranho. O princípio básico do form , seja unigui ou VCL, é que ele foi feito para ser mostrado de forma livre (Show) ou de forma acorrentada (Showmodal). Você tá usando o form para fazer justamente algo que ele não foi feito para fazer (Placed), que é a finalidade do Frame. Seja lá em qual etapa estiver do seu projeto, aconselho corrigir isto o quanto antes. O tempo que você vai perder resolvendo este e outros possíveis problemas será muito maior do que o tempo da correção. Sugiro alterar um dos forms de forma textual (alterando os arquivos .pas e .dfm) substituindo "class = (TUniForm)" para "class = (TUniFrame)" e ver o que acontece. Se funcionar, automatize as substituições.
  14. I send you a private message to solve this question.
  15. Before read your repply, i change my forum email to the profressional account. I'ts ok ?
  16. Unigui version : 1.70.0.1493 Ext JS version : 6.7.0
  17. Hi! Datetimepicker format is "dd/MM/yyyy". When i put the value "32/05/2019", show error (i'ts ok). When i put the value "31/06/2019",don't show a error, he convert to "01/07/2019" and induces user to error. The same thing happens when i put the value "29/02/2019", he convert to "01/03/2019". I'ts very serious for me. How can i resolve this? Help me please. Test case is possible in: http://18.231.121.146:8077/
  18. Hi! I'm using Dateimepicker and the format is "dd/MM/yyyy". When i'm puting the value "01012019" and exit, i'ts ok. But when i'm puting the value "22012019" and exit, not work. But when i'm puting the value "01222019" and exit, work. When i'm puting the "/" characters, i'ts ok. Test case in: http://18.231.121.146:8077/ I'ts a bug? Unigui version : 1.70.0.1493 Ext JS version : 6.7.0
  19. Isto é uma exceção do Delphi, não do Unigui. Este erro ocorre quando você chama o método AsDateTime. Seu select deve estar convertendo a data para string antes mesmo de chegar no delphi.
  20. Como mostrar máscara em um componente específico sem ser através do clique de um botão? How to show mask on a specific component without being through the click of a button?
  21. I solved the problem. The dataset code is correct, the problem was when I added the columns in the grid through this code. With DbGridPrincipal.Columns.Add DO BEGIN FieldName := 'PrecoVenda'; Alignment := taRightJustify; Title.Caption := 'Preço'; Title.Font.Style := [fsbold]; Title.Alignment := taCenter; Width := 80; END; As the addition of columns happened before the dataset was written, the grid did not perform very well. I put the creation of the columns after the first query, that is, with the dataset filled in, and it worked.
  22. alfr Thanks to the reply. I use TFDMemTable and, at design time, putting the component on the screen works, but I'm using it at runtime and the code below is not working. FDataset.CopyDataSet(DS,[coStructure,coRestart,coAppend]); TFloatField(FDataset.FieldByName('PrecoVenda')).DisplayFormat := '0.00';
×
×
  • Create New...