Jump to content

loQsoft

uniGUI Subscriber
  • Posts

    78
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by loQsoft

  1. On 4/9/2020 at 10:53 AM, Sherzod said:

    For example without the "hover" effect:

    function reconfigure(sender, store, columns, oldStore, oldColumns, eOpts) 
    {
        var widgetColIndx = 1;
        columns[widgetColIndx].onWidgetAttach = function(column, widget, record) {
            widget.setStyle('border-color', 'green');
            widget.setStyle('background-image', 'linear-gradient(lime, green)');
        };
    }

     

    Hello @SherzodSherzod,

     

    Where do I put this code?

     

    Best Regards,

     

  2. config.updateRowSpan = function() {
            var columns = sender.getColumns(),
                view = sender.getView(),
                store = sender.getStore(),
                rowCount = store.getCount(),
                
                colIndx = 1; // second column for example--> IT IS SECOND COLUMN
                column = columns[colIndx],
                dataIndex = column.dataIndex,

     

    if there are 3 coulmn to merge ? what can i do ?

    I mean

    ColIndx = 1;

    for one column and column number second

     

    i try to learn; vertically 

     

    Best Regards,

     

     

     

     

  3. Hello @Sherzod

    Thank you for your contacts regarding uniGui.

    Your suggestions are 99% successful in my targetGUi, a plan for answering projects.

    I use it.

    Delphi 10.2
    uniGui 1.90.0.1550

    However, this does not work for your suggestion.

    Could it be from the UniGUI version?

    Best regards,

    • Like 1
  4. @Sherzod, Thank you very much for your support.

    it works very well.

    and you can see test case at the attachement for the print screen save to file.

    i have a little question, 

    if i want to take screan shoot of all of mainmenu, how i can do it ?

    Best Regards,

     

     

    Print_Screen.rar

  5. On 1/10/2022 at 8:55 AM, Sherzod said:

    Hello,

    You can try this approach:

    1. 

    uses ... Soap.EncdDecd;

    2. 

    procedure TMainForm.UniButton1Click(Sender: TObject);
    begin
      with UniButton1 do
        JSInterface.JSCode('html2canvas(document.querySelector("#' + JSId +'")).then(function(canvas) {ajaxRequest('#1', "getData", ["base64Data="+canvas.toDataURL()])});');
    
    end;

    3. 

    procedure TMainForm.UniButton1AjaxEvent(Sender: TComponent; EventName: string;
      Params: TUniStrings);
    var
      stream: TBytesStream;
      base64s: string;
      AUrl: string;
    begin
      if EventName = 'getData' then
      begin
        base64s := Params.Values['base64Data'];
        base64s := StringReplace(base64s, 'data:image/png;base64,', '', [rfReplaceAll]);
        stream := TBytesStream.Create(DecodeBase64(base64s));
        try
          stream.SaveToFile(UniServerModule.NewCacheFileUrl(False, 'png', '', '', AUrl, True));
          UniImage1.Url := AUrl;
        finally
          stream.Free;
        end;
      end;
    
    end;

    4. CustomFiles:

    files/html2canvas.min.js

     

    Thank you very much, @Sherzod

     

    İ will try weekend your solution proposal and will inform you

     

    Best Regards,

     

    • Upvote 1
  6. 7 hours ago, Sherzod said:

    This post may help you:

     

    Thanks for the support,

     

    But my problem is not send to email

    My problem is take screenshot and save to the server.

    There is a way to save the screenshot to the server ?

     

    Thank you again for your support,

     

    Best Regards,

     

  7. 3 minutes ago, Sherzod said:

    Hello,

    Have you tried the approach above?

     

    With your way, i can take screenshot and then download the file.

    I need to save screenshot and then send by email to customer.

     

    Thanks for your support,

     

    Best Regards

  8. 1 minute ago, Sherzod said:

    Merhaba,

    Yukarıdaki yaklaşımı denediniz mi?

    Yes of course, But not success

    maybe there is another way to solve this problem

    Best regards,

     

  9. 5 hours ago, Sherzod said:

    Maybe you want something like this?

    function chart.beforeInit(sender, config) 
    {
        config.series[0].tooltip = {
            trackMouse: true,
            width: 400,
            renderer: function(tip, item) {
                tip.setTitle(item.get('LL'));
                tip.update('DİF: ' + item.get('A') + ', ' + item.get('B'));
            }
        };
    }

     

    Yes Exactly,

    and Thank you very much @Serzod

     

    Best Regards,

    • Like 1
  10. @Serzod,

    Hello  Serzod;

    it works very well tooltip on the barchart  with this code work very well

    series 0

    function chart.beforeInit(sender, config)
    {
       config.series[0].tooltip = 
      {
            trackMouse: true,
            width: 400,
            renderer: function(tip, item) 
            {
                tip.setTitle(item.get('LL'));
                tip.update('DİF: ' + item.get('A'));
            }
      }

    }

    and for serie 1

    function chart.beforeInit(sender, config)
    {
       config.series[1].tooltip = 
      {
            trackMouse: true,
            width: 400,
            renderer: function(tip, item) 
            {
                tip.setTitle(item.get('LL'));
                tip.update('DİF: ' + item.get('B'));
            }
      }

    }

    But how i can use this code for 2 series

    i mean, i want to show value tooltip when i mouse, for 2 series

     

    i.e. I want to see data from two series at the same time.
    but I can show the series one by one.

    Is it possible to show values for 2 series at same time ?

    Best Regards,

    2021-11-17_03-15-53.thumb.png.9fc82b28c10f76bc4a35d14c2c417a65.png

     

  11. 1 hour ago, irigsoft said:

    Merhaba.

    Bu sayfada güvenlik bilgilerini unigui'de tutmaya çalışıyorum: 

     

    Testlerden daha fazla bilgi veya istatistik yazabilir misiniz?

    Bu konuları oraya ekleyeceğim.

    Hello @irigsoft

    The company that provides professional pent testing service,
    Just share the report with me.
    In the report,
    Findings and recommendations are available.
    Results,
    - Using ReCapta (high priority)
    - LDAP authorization (high priority)
    and also
    - Detailed display of the errors caused by the application in the browser.
    For example: MS SQL connection error
    This error is because the attacker understands which DB they are using and causes them to concentrate on SQL Injection attacks.
    - Test duration: 10 days (including weekends)
    - Total Findings: 3
    - High Priority finding : 2
    - Low priority finding :1
    That's all the knowledge we have

    Best Regards,

  12. The application we developed for a customer was subjected to a 10-day pent test by a  professional pent test firm.

    In the test activity where all variations are tried; As a result of the report that came as a result of the test, 3 findings were found,

    All 3 findings; It has been determined that it is related to the code we have developed. (Coding error)

    In the application developed using uniGUI components, no findings originating from uniGUI were reported.

    In this context; We had the chance to see once again how strong and consistent the ungiGUI infrastructure is.

    Thank you uniGUI

    • Like 6
    • Thanks 1
    • Happy 1
×
×
  • Create New...