Jump to content

OdontonetEs

uniGUI Subscriber
  • Posts

    39
  • Joined

  • Last visited

Posts posted by OdontonetEs

  1. Hi,

    I have a TUniHtmlFrame control with the autoSroll property set to True, since I need the vertical scroll (Y) to be displayed. My question is: Is there a solution to always hide the horizontal scroll (X)?

     

    Thanks

  2. Thanks, that property is set to true. What happens is that after a while the application does not restart but this message appears in the browser:

    Invalid session or session Timeout. (Session not found: oeJxtGDQZY10E87E47B )

  3. Hello, sorry but this message is not very clear to me. I need the application to be restored every time the session expires. I have this configured in the server module, but something happens that when the time is much greater than the seesiontimeout parameter (ms) and the user clicks on a link, this error appears in the browser.
    I've looked at several threads and can't find a solution. In my case I do not need to extend the time (ExtendTimeOut), what I need is that once the session is expired (the expiration time is 30 min), the application is always restarted no matter how much time passes.

    Thanks

  4. Hello, I am presenting the following problem:

    I have some CSS classes in the customCSS property of the server module. In a control of type TUniHTMLFrame I try to create some tags of type "div" at run time. What happens is that on Windows everything works fine, but when I deploy the application to Linux, the CSS is not applied.
    I understand that Linux is a bit different, but the strange thing is that the CSS classes are in the customCSS property of the server module, that's why my doubt.

    this is the code:

     with panelComentarios do begin
                     html.Add('<div class="time">');
                     html.Add( lowercase(fieldbyName('nombre').AsString)+lowercase(fieldbyName('apellido1').AsString) );
                     html.Add(DateTimeToStr(fieldbyName('fecha').AsDateTime) );
                     html.Add('</div>');
                     html.Add('<div class="message">');
                     html.Add(fieldbyName('descripcion').AsString);
                     html.Add('</div>');
    
     end;

     

    Thanks

  5. Hi, I have the following line of code

    imagen.Picture.LoadFromStream(AStringStream);

    The same application on Windows works very well, however when I compile it for Linux as an Apache module the following error occurs:

     Unsupported stream format

    In my searches I found this link, but at the time it did not have a response with the possible solution.

    Thanks

     

     

  6. Good morning.
    I need to display an image or logo in a TUniLabel control. What would be the correct way to specify the "src" attribute. With the example I attached indicating the path where the image file is physically located, it is not working for me.

    Thank you

     

    image.png.6fdea3b98c6e5225b465d2d01f604a84.png

  7. Thanks,

    I'll try it in a few minutes and let you know.

     

    it also happened to me with the items of a TUniTreeMenu control that I use in a RADCORE project, do you think it would be solved with this change too?

  8. The strange thing is that if I look at the module log (.so) I get this error:

    [uniGUIApacheHandler[IP My Linux Server]]:EUniSessionException : Invalid session or session Timeout. (Invalid URI: /HandleEvent ) : Addr: $00007FEBC4FE2AC5

    But the application as such does not stop working

  9. Hello, the following happens to me:
    I have deployed a UNIGUI module for Apache on a Linux server, everything has worked fine, except that when I open the application, certain controls are not updated, such as the TUniDBGRID control. I have a small dataset that I insert data into in the click event of a TuniButton, and it is not reflected in the grid.
    Is it possible that I am omitting something when deploying to the Linux server?

    image.png.4e9e17a799023e39abd1cf080d280a12.png

     

    On the Linux server I have copied the unigui libraries as follows:

     

    image.png.485902fccb7f214fabf7c974f1b2f5e8.png

     

    Thanks

     

  10. image.png.422d4fe32747e2d5442b44e212ece24f.png

    1- At client side runtime I use this context menu to hide the columns.

    2- When the form/frame is destroyed I save the indexes of the hidden columns in a cookie.

    3- When it starts again, they read the cookie and according to the hidden index the column with the property grid.columns[innex].visible := false. So far so good

    The problem is that when I want to go to point 1 again to hide or show columns, it does not work correctly, it seems that in point 3 I am missing something from an ajax call from the grid

     

  11. Good morning. I have the following problem. When I hide certain columns from a TUniDBgrid control I can save the indexes of said columns in a cookie, but when I open the application again and read the data from the saved cookie, I can no longer use the ajax event to show or hide other columns. This happens once I use the property uniDbGrid.columns[x].visible := false when starting

×
×
  • Create New...