Jump to content

JDDEV

uniGUI Subscriber
  • Posts

    73
  • Joined

  • Last visited

Posts posted by JDDEV

  1. Thanks for this link.

    I would like to test some of the solutions...but how to code this "<input type="file"onchange="this.nextElementSibling.textContent = this.value;">" on the Onclick event of a SpeedButton....and then how to get the result ?

    I suppose i have to use AddJS function...but i don't know how to do that :(

    Thanks

  2. I would like to select a local directory without download, just to have the path.

    for exemple the user click on a unispeedbutton, a fileselector dialog opens with just the list of local directories  (c:/documents selected by default).

    then the user choose for exemple c:/users/toto/desktop and the path selected is showing in a unilabel.

    is that clearer ?

    thanks

  3. Hi all, 

    For my docs library project, I need to have 2 speedbuttons to just select a directory or a file on the local computer of the user.

    I just need to get the local path or path+filename without download selected directory or file.

    How i do that ?

    Is it possible directly with a UNIGui component or do i need to add a JS library ?

    Thanks for answers ;)

  4. Yes i use these properties when i use a button to refresh data.

    But if, i want to show form.screenmask during an another event (like timer for exemple), i would like to do that automatically when form.BeginUpdate is called and hide screenmask when form.EndUpdate is called.

  5. Hi all,

    I would like to show the ScreenMask when data are refreshing on a form.

    When refresh action is launched on a button click event, i configure the button screenmask properties.

    In other case, i would like to view mask between from.BeginUpdate and form.EndUpdate functions : is it possible to do that without use showmask et unisession.synchronize manualy ?

    Thank you for answer.

     

  6. I use v.1.90.0.1565

    I think it is because when i put DBGrid not visibled, i reinitalize fieldsDef (clear and adds) of the dataset (FDMemTable).

    If i don't reinitialize the dataset...it is working without ajax error.

  7. Hello,

    I have got a new issue when my DBGrid is not visible.

    There is an ajax error Cannot set properties of undefined (setting 'onWidgetAttach')

    Before i put my DBGrid not visibled, is it possible to reconfigure it and cancel onWidgetAttach function ?

    Thank you for answer.

     

  8. Thank you.

    Is it possible to have just the CSS config for this progressBarWidget ?

    Tips : for my Show/Hide question, i find this solution :
          JSHideWidgetInt:string= 'reconfigure='
                                +'function reconfigure(sender, store, columns, oldStore, the, eOpts) {'
                                +'  var widgetColIndx = %d;'
                                +'  columns[widgetColIndx].onWidgetAttach = function(column, widget, record) {'
                                +'    if (record.data[%d] == %d) {'
                                +'      widget.hide();'
                                +'    } else {'
                                +'      widget.show();'
                                +'    }'
                                +'  };'
                                +'}';

    ;)

     

  9. Hi all,

    I would like to know the name of the theme on the LiveDemo.

    I would like to have the same uniProgressBarWidget look like.

    Thanks you.

    One more question : is it possible to hide a widget for juste one row : for exemple if the value is < 0 

    uniprogressbarwidget.jpg

  10. On 2/12/2021 at 8:51 AM, JDDEV said:

    The UniLabel has got an UniSimplePanel for parent.

    The UniLabel is align on top to the UniSimplePanel.

    At run time when i change UniLabel.Caption (with html tags), i would like to autosize UniSimplePanel synchronized with the new Unilabel content height.

    No solution for that ?

     

  11. Hello,

    I have just added the path "C:\Program Files (x86)\FMSoft\Framework\uniGUI\Dcu\Delphi2024"

    in the "Project Options -> Delphi Compiler -> Search path" parameter...

    ...and my project is compiling fine again ;)

    It is the first time i need to do that manualy when i update UniGUI.

  12. Hi all,

    I have just installed uniGUI - v1.90.0.1552

    But when i want to compile my project i have these errors :

    [dcc32 Fatal Error] IfsWeb.dpr(82): F2063 Could not compile used unit 'uniGUIISAPI'

    [dcc32 Fatal Error] ServerModule.pas(29): F2063 Could not compile used unit 'UniGUIVars'

     

    The same project with Delphi 10.4 and uniGUI - v1.90.0.1551 work fine.

    What is wrong ?

    Thank you for answer.

  13. Hello all,

    I have the same need !

    I would like to put a background image on a UniStringGrid.

    First, i tried to put image in to the UniPanel parent of my UniStringGrid, but i don't find the transparent property for an UniStringGrid.

    Second, if the first solution is not possible, is it possible to set a background image to an UniStringGrid ? by JSCall ?

    Thank's for answer ;)

  14. The UniLabel has got an UniSimplePanel for parent.

    The UniLabel is align on top to the UniSimplePanel.

    At run time when i change UniLabel.Caption (with html tags), i would like to autosize UniSimplePanel synchronized with the new Unilabel content height.

  15. Hi all,

    I have an uniLabel with AutoSize=True and textConversion=txtHTML

    The default height is 23 and at runtime i put Caption:='Line1<br>Line2';

    The height is still 23. I hoped 46 !

    Does exist a function to get the height of a Html text ?

    Thank you.

  16. Thank you for your answer @Sherzod :rolleyes:

    I have an other problem with Indy component on Delphi 10.4 : it seems not to be compatible wirh openSSL 1.1.1

    So when i execute my app, i don't have anymore error with certificats but an other about library version.

    Is there an solution for that ?

    I tried to find Windows binary install for openSSL 1.0.2 (Indy 10 compatible), but i don't find it !...

     

    Thank you for help ;)

  17. Hi All,

    I want to configure SSL Options of my ServerModule to use my app inside a intranet.

    I use a self-signed certificate created on openssl with this command line :

    openssl req -days 36500 -new -newkey rsa:2048 -nodes -keyout domaine_dev.key -x509 -out domaine_dev.crt -subj "/C=FR/ST=GARD/L=NIMES/O=MYCOMPANY/OU=IT Department/CN=myserver.mydomaine.net"

    Rem: "myserver" is the computer name where is my app.

    So, i have 2 files "domaine_dev.crt" and "domaine_dev.key".

    If a understand, domaine_dev.crt is the RootCertFile

    How to do to create CertFile et KeyFile with opeenssl ?

    Thanks for all and Best Regards

×
×
  • Create New...