Jump to content

Roberto Nicchi

uniGUI Subscriber
  • Posts

    226
  • Joined

  • Last visited

Posts posted by Roberto Nicchi

  1. 5 hours ago, DanieleDR said:

    risolto..
    scusate ma l'assistenza di unigui funziona ? non rispondono

    Personalmente ti consiglio sempre di creare un piccolo programma di esempio quando hai una problematica come questa.

    Roberto

  2. On 8/22/2023 at 1:49 AM, Skyp said:

    Hi.

    How to close the process of loading the main form with a mask (for some time 1-4 seconds (from client communication..) there may be a white screen between the authorization form and the MainForm.

    How to call a mask on the body?

    Is there even a way to manage the application body without resorting to js?

    Hello,

    in the login form probably you have a button to confirm. In this button enable the ScreenMask property.

     

    Roberto

  3. Hello,

    i'm trying to make work SSL with a test unigui application (standalone)

    I have generated a certificate as explaing in this link: Developer's Guide > Deployment > SSL Configuration > Generate a Self-Signed Certificate (unigui.com)

    I have created the certificate with a password and have inserted the password in the SSLPassword property in my application. I suppose i have done it right. Of course i have enabled ssl (ssl.enabled=true)

    The application is correctly executed using https://127.0.0.1:8077 but the browser tell me the the connection is not safe. Does it happens because i'm using a self-generated certificate ?

    Below you can see the properties of the servermodule.

    thanks

    Roberto

    object UniServerModule: TUniServerModule
      OldCreateOrder = False
      TempFolder = 'temp\'
      Title = 'New Application'
      SuppressErrors = []
      Bindings = <>
      SSL.Enabled = True
      SSL.SSLOptions.RootCertFile = 'root.pem'
      SSL.SSLOptions.CertFile = 'cert.pem'
      SSL.SSLOptions.KeyFile = 'key.pem'
      SSL.SSLOptions.Method = sslvTLSv1_2
      SSL.SSLOptions.SSLVersions = [sslvTLSv1_2]
      SSL.SSLOptions.Mode = sslmUnassigned
      SSL.SSLOptions.VerifyMode = []
      SSL.SSLOptions.VerifyDepth = 0
      SSL.SSLPassword = '050302'
      ConnectionFailureRecovery.ErrorMessage = 'Connection Error'
      ConnectionFailureRecovery.RetryMessage = 'Retrying...'
      Height = 150
      Width = 215
    end

  4. On 10/9/2022 at 6:08 PM, Herwan Alhadi said:

    To all members of the forum

     I am trying to use the keypress event to disallow some keys in a TUniEdit

    procedure TForm1.Edit2KeyPress(Sender: TObject; var Key: Char);
    begin
    if not (key in[‘0’..’9′,#8]) then
    key:=#0;
    end;

    still not work, how can do it

    thaks

    you could use the inputmask property to limit the valid input characters ...

    • Like 1
  5. The button is connected to a TuniNativeImageList (svg image)

    If i use the following CSS the icon is not centered horizzontally. It's aligned to the left.

    .okIcon24 {
      height: 24px !important;
      width: 24px !important;  
      background-size: 24px auto;
      background-image: url("files/icone/okIcon.svg"); 
    }
     

    If the line

    width: 24px !important;  

    is changed to

    width: 24px;

    the icon is centered (correctly) horizzontally.

    I'm wondering why the "!important" option in CSS is causing the icon not to be centered horizzontally.

    thanks

     

    Roberto

  6. 2 hours ago, irigsoft said:

    Hello, try to create procedure like Example

    GridMultiSelect

    to check checkbox when user click on DBGrid Row (Work on uniDBGridClick, uniDBGridDBlClick,OnCellClick)

     

    var
    selActControl : TControl;
    begin
    if Column <> nil then begin

         if not Column.ActionColumn.Enabled then
                //    procedure to check selected row from example

               //TUniDBGrid (TUniDBGridColumn (Column).Grid).;

    end;

    I can't understand how to change the selection of the current record by code. I i had this information it would be easy...

  7. 37 minutes ago, Sherzod said:

    Hello,

    "Use Ctrl/Shift to select multiple records (Ctrl-A to select all)"

    \FMSoft\Framework\uniGUI\Demos\Desktop\GridMultiSelect

     

    The application will be used in a touch monitor. The user click (touch) the record and it should be selected.

    thanks

    Roberto

  8. Hello,

    i'm using a TuniDBgrid component to allow selection of multiple records.

    Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgRowSelect, dgCheckSelect, dgAlwaysShowSelection, dgConfirmDelete, dgMultiSelect, dgAutoRefreshRow]

    My problem is that the record selection is possible only clicking in the checkbox only. I would like to select/unselect the record clicking in any column of the grid. Possible in some way ?

    thanks

  9. 12 hours ago, Ron said:

    I created a keyboard using buttons, and then you can make it the size you want.

     

    Bilde_2022-09-21_015723927.png

    Thanks, i have tought to that solution .... How to update the value in a TuniNumericEdit component clicking in a button ?  Are you using Javascript ?

  10. Hello,

    i have an Unigui application that will be used in a Windows PC with a touch monitor.

    The user have to insert a numberic value into a TuniNumberEdit. I would like to have a button (next to the number edit) that will open a form with a virtual numeric keypad. The user type the number (the keypad must have large keys) and press enter. The number is inserted into the TuniNumberEdit.

     

    Is there something like this ?

     

    For the moment i need only a numeric keyboard but would be nice also to have an alphanumeric keyboard.

     

    I have found the following thread but the keyboard is very small.

     

    thanks

     

    Roberto

    P.S. My knoledge of JS is zero :)

  11. 2 hours ago, Sherzod said:

    Hello,

    Workaround:

    procedure TMainForm.UniFormCreate(Sender: TObject);
    begin
      UniHTMLMemo1.JSInterface.JSAddListener('boxready', 'function(me){Ext.defer(function(){me.iframeEl.dom.contentDocument.body.addEventListener("keydown", function(e) {if (e.key=="F5") {e.preventDefault(); '+ Self.WebForm.JSForm.JSName +'.fireEvent("keydown", '+ Self.WebForm.JSForm.JSName +', e.keyCode, 0)}})}, 1000)}');
    end;

     

    Thanks!

  12. 2 hours ago, Frederick said:

    Sherzod,

    I do know that I can set the TabStop to True at designtime. I can even set this property at runtime in VCL and it will work.

    However, I am looking for a solution in UniGUI on how to set it during runtime and work.

    If you have a solution now or if it will be fixed in the next build, please let me know.

     

    I think @Sherzodis suggesting to not change the tabstop property at design time (leave it with the default true value) and change it only at designtime.

    Roberto

     

    • Upvote 1
  13. 10 hours ago, FFREDIANELLI said:

    Hi Sherzod, 

    problably by my english.  My application create an email , in the body of the email , the application create a hyperlink, to my site with an unigui application. In the link i have parameters (crypted) to explain what to the application. 

    The guy that receive the email click on hyperlink and the site open, for some milliseconts ( i can see the gif of unigui running...) but closes. If the guy copy the hyperlink to the browser, it open and do the expected things... I do not know if is the site that do not have ssl certificate, because if i put in the same application a link to a commercial site... it open.

     

    Could be the Antivirus software ?

  14. On 10/29/2019 at 7:37 AM, donlego said:

    please add this fitur to hyper server remote deploy

    not just exe , coz sometime when update my new app version not just single exe,

    it can be other file or folder

    I think this could be very usefull. In the HyperServer's "Upload New Version" dialog you could add the possibility to upload also a zip file. The zip file will be unzipped in the main exe folder.

    Roberto

×
×
  • Create New...