Jump to content

shawdown

uniGUI Subscriber
  • Posts

    142
  • Joined

  • Last visited

  • Days Won

    3

Posts posted by shawdown

  1. No, I'm using the currency property of the data access component.

    Can you give me an example of how to use the OnDrawColumnCell event to format float with decimals?

    Thanks.

  2. When I export a grid, the columns lose their formatting.

    The format is defined in the currency property of each field.

    How do I get it exported formatted?

    Thanks.

    grid.jpg

    html.jpg

    • Like 1
  3. On 5/29/2019 at 8:35 AM, ikaurov said:

    This solution did not help me:

    sender.element.dom.setAttribute('autocomplete', 'off');

      But this one works good:

    UniSession.AddJS('$("input").attr("autocomplete", "off");');

    Thanks.

    For me it worked using "new-password".
    The only detail I couldn't do was hide the saved passwords popup when logging in.

    • Like 1
  4. Hello, to add a "trigger" icon in a UniDBFormattedNumberEdit I am using the code below.

    function beforeInit(sender, config)
    {
          config.triggers = {
            search: {
                cls: 'x-form-trigger',
                handler: function() {
                    ajaxRequest(sender, 'TrigerClick', []);
                }
            }
        };
    }


    How can I hide this icon at runtime?

  5. When placing or desired code in a TTimer it has the expected behavior.

    I would like to execute this code without using a TTimer.

    This code executed by TTimer would not be the main thread?

  6. I know it is not advisable to use ServerModule but I need to run a routine on the main thread of the unigui application.


    This routine is only when the software is debugged or when it is being released it will not be executed.


    How can I execute some block of code on the main thread?

  7. I know this way works perfectly but for this on all objects I will have to add a message according to my language.

    What if my software has other languages?

    I would like something that had an inheritance.

    Example.
    When creating the user session I define the default message if I don't have the "ScreenMask.Message" property set.

    Today if you don't have "ScreenMask.Message" set then the message "Loading ..."


    Sorry if I'm not being clear.
    Google Translator.

  8. Actually I need that when the Message property is not set displays a default message.

    Loading is an English word that corresponds to "Carregando..." in my language.

    So I would like that whenever the Message Property is not set it will display "Carregando..."

×
×
  • Create New...