Jump to content

pro_imaj

uniGUI Subscriber
  • Posts

    929
  • Joined

  • Last visited

  • Days Won

    5

Posts posted by pro_imaj

  1. Hi,

    The attached video is \FMSoft\Framework\uniGUI\Demos\Desktop\Tablet Application example.

    If you pay attention to the 2nd and 9th seconds of the video, it acts as if there is a Screen mask on the screen, but there is no screen mas, sometimes it does this and sometimes it does not, the image that comes in the form of a screen mask is annoying. Is there a way to prevent this?

     

     

  2. 4 hours ago, 风吹小机机 said:

      MenuTree.ClientEvents.ExtEvents.Values['afterlayout'] := ' function afterlayout(sender, layout, eOpts)'
                                                            + ' {'
                                                            + '    Ext.get("' + MenuTree.JSId + '").setStyle({"background-color":"rgba(0,0,0,0)"});'
                                                            + '    if(!!Ext.get("' + MenuTree.JSId + '").el.dom.children[0].id){'
                                                            + '      var kid = Ext.get("' + MenuTree.JSId + '").el.dom.children[0].id;'
                                                            + '      Ext.get(kid).setStyle({"background-color":"rgba(0,0,0,0)"});'
                                                            +'     };'
                                                            + ' }';

    Set the tree menu background to transparent

    Thanks for your suggestion,
    This solution creates problems for some template options, they are often grayed out and make text unreadable.

  3. 16 minutes ago, pro_imaj said:

    Hi,

    When I add the UniTreeMenu1 object to the form, although Color := clWindow, when I select a theme, its color does not change according to the theme. How can I make the color change according to the theme?
    Like all other objects, I want the color to change according to the theme when the theme is selected.

    Thank you.

    The problem occurs when I do it through the example here.
    \FMSoft\Framework\uniGUI\Demos\Desktop\Tablet Application

  4. 17 minutes ago, Hayri ASLAN said:

    Hello

    I tested with your demo app, as you can see we are getting the configchange event and the columns in the respective field.

    You will save them to database and when you open form, you will add them to configurator.

    image.png.ab41302f15d4e66a0d0e88f74c5c1a12.png

    image.png.ea95f1bf0e784a972cc31bfa30ee1b33.png

    You're right, but I can't quite understand that I can't do that either.☺️

    Could you please provide an example that dumps data into a memo object and reloads it from the memo object via a button.

    I would be very grateful, I do not understand, I have never used such a structure before.

  5. 2 hours ago, Marlon Nardi said:

    geri bildirim için teşekkürler,

    en son sürümü kullandığınızdan emin olun.

    image.thumb.png.224f05c1048bfc715c75aaaec7d00bc0.png

    Örnek çevrimiçi:

    https://demos.falconsistemas.com.br/?tela=tfrmkendoui


    I clearly identified the problem.


    It works correctly when I add runtime data to the ClientDataSet1 component.

    When I connect the field type Decimal(18, 2) in MSSQL database, the result is wrong.

    The problem was fixed when I made the field type float in MSSQL database.

    Thanks, an interesting situation arises but this is how I solved the problem.

     

    *Also, TL currency doesn't work even though I bought it according to kendo site.  'tr-TR'

    https://docs.telerik.com/kendo-ui/api/javascript/data/datasource/configuration/accentfoldingfiltering

  6. 5 hours ago, Marlon Nardi said:

    Hi @pro_imaj

    topic 2 improvements are now available for download at https://store.falconsistemas.com.br

    Regarding topic 1, today I'm going to study a better way to implement this.

    KendoUI-Falcon-Test.zip 6.58 MB · 3 downloads

    procedure TMainForm.UniFormCreate(Sender: TObject);
    begin
      if Assigned(Sender) then
    
        Chart.ChartType := TUniFSKendoUIType(0);
      Chart.ChartTheme := TUniFSKendoUITheme(2);
    
      Chart.ChartSeries.Clear;
      Chart.ChartSeriesProperties.Clear;
      Chart.ChartProperties.Clear;
      Chart.ChartSeriesDefaults := EmptyStr;
    
      Chart.ChartTitleVisible := True;
      Chart.ChartTitle := 'Titulo Teste (bar, column, line)';
      Chart.ChartDataSet := UniMainModule.ExecQ;
      // "categoryAxis" - reserved keyworld for categories (Linha do Tempo)
      Chart.ChartSeries.Values['categoryAxis'] := 'Gun';
      Chart.SetCulture('');
      // first set of data, name=dbfield  1ª Barra
      Chart.ChartSeries.Values['Brasil'] := 'DIhAdet';
      // second set of data 2ª Barra
      Chart.ChartSeries.Values['Mundo'] := 'DIhM2';
      // tooltip for line chart
      Chart.ChartProperties.Values['tooltip'] := '{visible: true, format: "{0:c}"}';
      // labels for bars and columns
      Chart.ChartSeriesDefaults :=
        'labels: {visible: true, position: "insideEnd", template: "#= kendo.format(''{0:c}'', value) #"}';
      Chart.ChartProperties.Values['valueAxis'] := '{labels: {rotation: "auto"}}';
      Chart.ChartLegendPosition := TUniFSKendoUIPosition.Top;
      Chart.ChartStacked := False;
      Chart.ChartSeriesStyle := TUniFSKendoUISeriesStyle(0);
    
      Chart.SetCulture('pt-BR');
      // cmbLegend.ItemIndex := Integer(Chart.ChartLegendPosition);
    
      Chart.InitChart;
    end;

    image.png

  7. 1 hour ago, Marlon Nardi said:

    I will upload a new update today on the store (https://store.falconsistemas.com.br), for you to define your Culture Formatting

    image.thumb.png.969bd110cd194fe999568037718a7f15.png

     

    Chart.SetCulture('pt-BR');

    image.png.799e08f4d65979fd7fba81693dea404f.png
     

    Chart.SetCulture('en-US');

    image.png.341af79db59961b82b6e00927196bc8a.png


    Formating tootip sample:

    Chart.ChartProperties.Values['tooltip'] := '{visible: true, format: "{0:c}"}';

     

    Formating labels sample:

    Chart.ChartSeriesDefaults := 'labels: {visible: true, position: "insideEnd", template: "#= kendo.format(''{0:c}'', value) #"}';


    Reference:
    https://docs.telerik.com/kendo-ui/globalization/intl/numberformatting

     

    Hello @Marlon Nardi

    Thank you in advance for the update.

    The subject number 1 in my first message is solution genius mi.

    In other words, if there is data in the Adet and M2 Fields, the standard is selected. I want to bring one of them selectively.

    The user can choose the other if they want.

  8. 1 hour ago, Marlon Nardi said:

    Hi @pro_imaj

    Thanks for your feedback,

    Can you make a simple TestCase and send it to me so I can analyze and correct it for you?

    Hello, I have sent you the sample test file as a message.

    When you run it, you will see an image like the one below. I want to separate the numbers in the marked fields with thousands separators.

    image.thumb.png.d0659bf60a72309b5b7a4081c0a7868e.png

  9. 35 minutes ago, Sherzod said:

    Hello,

    You can email Marlon.

    I sent a message, em is more descriptive and also asked here so that everyone can use it if it is resolved.

    Thanks for your attention

  10. No matter what I give to the format field as below, it has no effect.

     

    Chart.ChartProperties.Values['tooltip'] :=
        '{visible: true, format: "{0}%", template: "#= series.name #: #= value #"}';

     

  11.  

    Hi, Falcon Kendo Component is very nice, first of all thank you.

    -1. The subject can be active or inactive when we click on the above report fields (Number, M2). How can I make one of these fields passive at the beginning without the user clicking it?

    -2 I can't format the numbers in the 2nd and 3rd images. I wanted to add the thousands separator, but it doesn't work (I tried the formats on the Kendo site, but the result is negative.)

     

    @Marlon Nardi

    image.thumb.png.2457f8ff79b4d9aeae3474bd7f1ea3bf.png

×
×
  • Create New...