Jump to content

eduardosuruagy

uniGUI Subscriber
  • Posts

    845
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by eduardosuruagy

  1. 5 minutes ago, Sherzod said:

    Use Ctrl / Shift para selecionar vários registros (Ctrl-A para selecionar todos)

    I guess I couldn't explain well, what happens is that when I mark 1 or more records and then click on any dbgrid row all marked records are automatically unmarked, I didn't want them to be unmarked, it has...

  2. On 9/7/2019 at 9:20 AM, Sherzod said:

    One possible solution...

    UniModalForm.ClientEvents.ExtEvents -> function window.show(sender, eOpts):

    
    function window.show(sender, eOpts)
    {
        var frm = sender.owner;
        var cbtn = frm.closebutton;
        if (cbtn) {
            cbtn.addBeforeListener('tap', function() {
                if (!cbtn.isClosable) {
                    frm.window.hide({
                        type: "slideOut",
                        duration: 1000,
                        direction: 'left', // right, down...
                        listeners: {
                            animationend: function(evt, obj) {
                                cbtn.isClosable = true;
                                cbtn.fireEvent('tap', cbtn);
                            }
                        }
                    });
                    cbtn.setDisabled(true);
                }
                return (cbtn.isClosable == true)
            })
        }
    }

     

    do you have this option for vlc?

  3. On 21/08/2019 at 16:45, Andriws Luna said:

     

    Olá a todos!

    Há um tempo atrás, procurei um componente ou algo que facilitasse o uso do Highcharts no Unigui, mas não obtive êxito.

    Então, decidi desenvolver meu próprio componente para fazer isso.

    Após 2 meses de trabalho, está em uma versão mais estável e decidiu compartilhar com a comunidade.

     

    Lembro que o Highcharts é gratuito apenas para uso pessoal.

     

    Faça o download no github:  https://github.com/andriwsluna/Unigui-Components

    
    

    EchoHightChart1.HighChartOptions.title.text.Value: = 'Introdução';
    EchoHightChart1.HighChartOptions.series.Datasource.DataSet: = FDMemTable1;
    EchoHightChart1.HighChartOptions.series.List.FieldNameForSerie: = 'Operação';
    EchoHightChart1.HighChartOptions.series.List.FieldNameForX: = 'month';
    EchoHightChart1.HighChartOptions.series.List.FieldNameForY: = 'value';
    EchoHightChart1.Load;

     

     

    Observe que existe uma fonte de dados para acesso a dados.

    Veja a demonstração:

     

    chart.png.8ed12fffd7f6ee8d61986cca9e6ed2be.png

    chart.thumb.png.31aa5239c8c56e0a77a4ac0c88176546.png

    PM me a contribuir com este projeto.

    Obrigado.

     

    Esses do cilindro como vc fez?

  4. On 8/24/2019 at 11:41 PM, Sherzod said:

    Please clarify the question. Have you tried the solutions above, or what problems do you have with these solutions?

    As I print what is in this project TinyMCE, I tried to use the examples above but I was not successful. Can you help me?

  5. 1 hour ago, Sherzod said:

    Qual evento você está usando?

    procedure TFormCadRelatoriosSistema.UniFileUpload1Completed(Sender: TObject; AStream: TFileStream);
    var DestName   : string;
        DestFolder : string;
    begin
      DestFolder := UniServerModule.StartPath+'UploadFolder\';
      DestName   := DestFolder+ExtractFileName(AStream.FileName);

      if not DirectoryExists(DestFolder) then
        ForceDirectories(DestFolder);

      CopyFile(PChar(AStream.FileName), PChar(DestName), False);

      EDIT_NOME_ARQUIVO.Text := ExtractFileName(DestName);
    end;
     

×
×
  • Create New...