Jump to content

MVakili

uniGUI Subscriber
  • Posts

    171
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by MVakili

  1. sorry

    it was my fault , your code works

    procedure TJRBForm.UniFormShow(Sender: TObject);
    begin
    //   with UniBitBtn1.JSInterface do
    //    begin
    //      JSCall('btnWrap.setStyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']);
    //    end;
      UniPanel1.JSInterface.JSCall('setBodyStyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']);
    end;

    is it for change of command?

    setbodystyle

    setBodyStyle

  2. procedure TJRBForm.UniFormShow(Sender: TObject);
    begin
       with UniPanel1.JSInterface do
        begin
          JSCall('btnWrap.setStyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']);
        end;
       UniPanel1.JSInterface.JSCall('setbodystyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']);

     

  3. Base on another topic I change the color of unibitbtn

    UniBitBtn1.JSInterface.JSCall('btnWrap.setStyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']);

    image.png.3624970606774f1d58144448dabc7f49.png
     

    now I want to change another component like UniPanel UniDbGrid unicheckBox and so on 

    for example is it correct for UniPanel1

    unipanel1.JSInterface.JSCall('pnlWrap.setStyle', ['background-image', 'linear-gradient(to right, Cornsilk, DarkKhaki)']);

     

  4. On 6/14/2021 at 8:26 PM, Marlon Nardi said:

    Finished, new properties have been added to the chart (UniFSKendoUI), please download the updated version from the Store:

    • Added TitleFontName
    • Added TitleFontSize
    • Added functionality to save the graphic image (Backend)

    Sample:

    
    Chart.ChartTitleFontSize := 10;
    Chart.InitChart;

    image.png.7f7cc0474ee47eed5c09490fa2cf0193.png

    image.thumb.png.b9cf888d40a0ce322e7188b1446f465d.png

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

    WOW

    great support

    tank you 

     

    • Like 1
  5.   with TUniPanel.Create(Self) do
      begin
        Left:=100;
        Top:=140;
        Width:=140;
        Height:=140;
        Text:='Text';
        Name:='AA';
        Parent:=MainForm;
        TitleVisible:=True;
        With ToolButtons.Add Do
           Begin
              Index:=0;
              IconCls:='action';
              Action:=Action1;
           End;
        With ToolButtons.Add Do
           Begin
              Index:=1;
              IconCls:='add';
              Action:=Action2;
           End;
        With ToolButtons.Add Do
           Begin
              Index:=
              2;
              IconCls:='more';
              Action:=Action3;
           End;
      end;

     

  6. Just now, Marlon Nardi said:

    Hi @MVakili, this feature of changing the settings of ChartChartSeriesDefault and ChartProperties in execution time, has not yet been implemented, we would have to study, for a possible implementation.

    Ok ..What if I want to release and create again the chart?
    is it possible ?

     

  7. 10 hours ago, Marlon Nardi said:

    Hi @MVakili thanks for the Feedback.

    Problem fixed, a new update for download is available in the store ( https://store.falconsistemas.com.br  ).

    Tank you 

    Ill check

    Another question 

    I want to change ChartChartSeriesDefault and ChartProperties at run time .. but It seems dosnt work 

    may you help me

    ChartChartSeriesDefault:='';
    ChartChartSeriesDefault:=MSeriesDef.Lines.Text;
    
    ChartProperties.Clear;
    ChartProperties.Text:=MProperties.Lines.Text;

    Both MSeriesDef and MProperties are TUniSyntaxEdit

  8. well we try to change this project and find another solution 

    you can download changed project 

    1) in BB project we try to isolate AMainForm 

    uses
    // Comment this line when use in BB project---------
    // AMainModule,
    // --------------------------------------
      uniGUIVars, uniGUIApplication;
    
    function AMainForm: TAMainForm;
    begin
    // Comment this line when use in BB project---------
    //  Result := TAMainForm(AUniMainModule.GetFormInstance(TAMainForm));
    //
    end;

    and then we call UniButton with Bform handel

       AMainForm.UniButton1Click(BMainForm);

     

    In this case, there is no need to hide the form
    We checked the server and everything seemed to work. You can download and view the result

    Projects.rar

    • Like 1
×
×
  • Create New...