Jump to content

GerhardV

uniGUI Subscriber
  • Content Count

    382
  • Joined

  • Last visited

  • Days Won

    26

GerhardV last won the day on November 17 2020

GerhardV had the most liked content!

Community Reputation

102 Excellent

10 Followers

About GerhardV

  • Rank
    Advanced Member

Profile Information

  • Gender
    Not Telling
  • Location
    South Africa

Recent Profile Visitors

3006 profile views
  1. Thank you Sherzod, appreciate it. Please check all the LayoutConfig properties, I think BodyCls is also not public, there may be more. Regards, Gerhard
  2. You are probably referring to the payload, I was more wondering about round trips between the browser and server. In the case of "JSInterface.JSConfig" I was wondering if the application JS get constructed and send to the browser and only after that the "JSInterface.JSConfig('cls',['app-h3 app-font-600 app-color-secondary']); call is send to the browser. I did a small test and it seems that both gets build on initial construction of the application JS. O13 = new Ext.form.Label({ id: "O13_id", beforeinit: function (sender, config) { config.cls = "app-h3 app-color-primary
  3. Of course yes - thanks! Which method will result in less network traffic? 1. ClientEvents.UniEvents.Values['beforeInit'] := 'function beforeInit(sender, config){config.cls = "app-h3 app-color-primary";}'; or 2. JSInterface.JSConfig('cls',['app-h3 app-font-600 app-color-secondary']); Since we don't have the source code of UniGuiClasses, I assume that (1.) is happening on the server side while the "client JavaScript" is being constructed, whereas with (2.) the call is only happening afterwards as the JavaScript has already been constructed? Maybe @Farshad Mohajeri
  4. Dynamically on the UniFormCreate method: with TUniLabel.Create(Self) do begin Caption := 'Blah'; Align:= alTop; CreateOrder := index+1; LayoutConfig.Margin := '10 10 5 10'; //This doesn't work //ClientEvents.UniEvents.Values['beforeInit'] := 'function beforeInit(sender, config){config.cls = "app-h3 app-color-primary";}'; //This work JSInterface.JSConfig('cls',['app-h3 app-font-600 app-color-secondary']); Parent := pnlClientArea; end; This happens in a loop which creates several labels. The parent container is a panel with the layout set to vbox. What is your defin
  5. Thanks Hayri, yes I already done that and it works just fine, but I would really want the LayoutConfig.Cls property to be public. To me published implies public. I would also like to know why the setting of the UniEvents value isn't working, that should be fine because the TUniLabel is created on the "server side" at the point in time, unless I am missing something.
  6. I still have the issue, just with a TUniLabel. ClientEvents.UniEvents.Values['beforeInit'] := 'function beforeInit(sender, config){config.cls = "app-h3 app-color-primary";}'; Does not work with 1549 build. Have to do it like this because the "LayoutConfig.Cls" property is protected and not public, yet is is published.
  7. Hello

    I want to buy UniGui Theme Pack

    Best Regards

    Serg

    1. GerhardV

      GerhardV

      Hi Sergii:

      Sorry was away for Easter weekend.

      Are you looking for Theme Pack 1 or 2?

      Regards,

      Gerhard

       

    2. Sergii

      Sergii

      Hi Grhard

      I am ready to buy Theme Pack 1 and 2.

      Regards

      Serg

  8. Never mind, I figured it out, one can call the function directly for a UniHTMLFrame since it isn't in a iFrame. This worked: UniHTMLFrame1.JSInterface.JSCode('nextStep();');
  9. @Sherzod, can you do the same for a UniHTMLFrame? When I do this: UniHTMLFrame1.JSInterface.JSCode(#1'.iframe.contentWindow.nextStep();'); I get the following error:
  10. It is not easy to make it work with themes that have different sizes, you are always going to have an issue with something because it is controlled by CSS and not Delphi. You can override it in Delphi but it will not play well with all the themes. That is why the themes in my theme packages are designed based on the same height and sizes so they can be easily switched with almost no shifting, hence the -x30 appended to all theme names. The x30 themes all have a 30px height for all "header" type containers like panels, window, accordion etc. and 24px height for edits, grid rows selections etc.
  11. Hi Gerhard,
    I'm using 1.90.0.1530, How I can buy it? 

    1. Show previous comments  7 more
    2. GerhardV

      GerhardV

      Hi there:

      Thank you for your purchase. Below is the download link for the theme pack. 

      Please find the theme package attached.

      There is a readme file with instructions inside. Please let me know of any issues or questions.

      IMPORTANT - "Compatible only with UniGUI [1.10, 1.50, 1.70, 1.90] and ExtJS 6.5/6.6/6.7/7.0"

      King regards,
      Gerhard

      abasov_ru.zip

    3. abasov_ru

      abasov_ru

      waiting for the download link ))

    4. abasov_ru

      abasov_ru

      thank you very much!

  12. Hi Gerhard,

    I hope you well.

    Same question  as Mike. Is Theme pack availble ?

    Thanks

    Gilles

    1. GerhardV

      GerhardV

      Hi there:

      Sorry for the late reply, missed these messages somehow.

      Yes it is still available.

      Regards,

      Gerhard

  13. Hi Gerhard,

    Is the theme pack still available?

    Does it support uniGUI version 1.90.x?

    Regards,

    Mike

     

  14. Hello GerhardV I would like to buy a theme pack!

    1. GerhardV

      GerhardV

      Hi there:

      Sorry for the late reply, missed these messages somehow.

      Yes it is still available.

      Regards,

      Gerhard

    2. dkeene

      dkeene

      how can i see it and buy it?

  15. I'm using 1.90.0.1520, How I can buy it?

×
×
  • Create New...