Jump to content

GerhardV

uniGUI Subscriber
  • Posts

    385
  • Joined

  • Last visited

  • Days Won

    27

GerhardV last won the day on August 7 2021

GerhardV had the most liked content!

Profile Information

  • Gender
    Not Telling
  • Location
    South Africa

Recent Profile Visitors

7696 profile views

GerhardV's Achievements

Advanced Member

Advanced Member (4/4)

107

Reputation

  1. Hi Gerhard,

    i would like to buy your uniGITheme pack please write to fandreani@facilissoftware.it

  2. Hi Gerhard

    Is you're e-mail  venterbg@gmail.com still active...send you a mail regarding uniThemeButton
    but will try it by forum:

    How is it in South-Africa….still there or in the meanwhile moved and another job?
    Are you still active with Delphi & uniGui because have a question.

    You once created an uniThemeButton with the themes, but when I want to create a
    package for Delphi 11 I keep getting error message

    ThemeButton.bpl raised exception class EAccessViolation: Access violoation at address 50157577 in module rtl280.bpl.

    Do you maybe have any idea how I can get that fixed?

    Greetz Peter

  3. hi,

    Can you send me how you made the unigui example with the quaggaJS you use for the barcode scanner.

  4. Hi there!

    Can you give me some advice?
    I've just installed that Sencha Themer with all prerequisites, created new theme,  made some changes in some controls and tried to apply it to the test app.


    image.thumb.jpeg.a55c03bb93ce609752ff37a12a2516f0.jpeg

    So I put both published from Themer package and CSS to the correct path

    image.jpeg.686e5255ef97eb7d5f3f8b7741f5200b.jpeg

    and it's visible both from IDE and running app

    image.jpeg.0e36e0b4c117fb7a6e75f9f85fd00d6a.jpeg

    image.jpeg.0ffee133eac125f80212fcfb28fc79d7.jpeg

     

    But, as it seen, changes not applied :-(
    What am I doing wrong?

    uniGUI Pro ver: 1.90.0.1558
    Sencha SDK installed with Themer: ExtJS v7.5.1.5 (too new for uniGUI?)
    Tried both Classic and Universal toolkits, made (from a copy) ext-theme-uni_test1.js and edited the name in to last lines of it..

  5. Don't worry I have figured it out: UniSession.JSCode('Scrollbar.get(document.getElementById("' + MainForm.pnlClientArea.JSId + '-innerCt")).scrollTo(0, 0);');
  6. @Sherzod How will you tell this Scrollbar to scroll to the top in code?
  7. Thank you Sherzod, appreciate it. Please check all the LayoutConfig properties, I think BodyCls is also not public, there may be more. Regards, Gerhard
  8. 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"; }, text: "ClientEvents.UniEvents", x: 32, y: 24 }); O13.nm = "O13"; _cdo_("UniLabel1", O13, null, MainForm); O17 = new Ext.form.Label({ id: "O17_id", cls: "app-h3 app-font-600 app-color-secondary", text: "JSInterface.JSConfig", x: 368, y: 24 }); O17.nm = "O17"; _cdo_("UniLabel2", O17, null, MainForm); So I will then expect if LayoutConfig.Cls is public it will also result in: O17 = new Ext.form.Label({ id: "O17_id", cls: "app-h3 app-font-600 app-color-secondary", text: "JSInterface.JSConfig", x: 368, y: 24 });
  9. 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 can shed some light on when what is happening and which is better practice? I still would like to know why LayoutConfig.Cls is not public.
  10. 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 definition of runtime or dynamically?
  11. 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.
  12. 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.
  13. 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

  14. 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();');
×
×
  • Create New...