Jump to content

Tokay

uniGUI Subscriber
  • Posts

    839
  • Joined

  • Last visited

  • Days Won

    19

Posts posted by Tokay

  1. Unfortunatelly I have no find any example how to change image depended on dataset.

    I additionally explain what is nedded to achive:

    row 1 has 0 value in the 2 column (with action buttons), then we show on grid button Image 0 from bineded TUniNativeImageList;

    row 2 has 4 value in the 2 column (with action buttons), then we show on grid button Image 4 from bineded TUniNativeImageList;

    row 3 has 2 value in the 2 column (with action buttons), then we show on grid button Image 2 from bineded TUniNativeImageList;

    and in that way all other rows.

  2. Actually TUniCanvas  has a bug. When change it size on the front, back shadow images does not changed and therefor TUniCanvas works wrong.

    This is fix for an issue, please add it to the sources:
     

      if (not IsLoading) and ((pw <> Width) or (ph <> Height)) then
      begin
        SetDomStyleProperty('clip', GetClipStr );
        JSCall('setWH', [Width, Height]);
        //
        FPngImage.SetSize(AWidth, AHeight);
        FBitmap.SetSize(AWidth, AHeight);
        //
      end;

     

  3. You can find UniFSButton43 on the UniScrollBox2 when Owner of the UniFSButton43 is UniScrollBox2. I think that Owner of the UniFSButton43 is your form. Components can be found only in the owner components list, not in any other.

  4. 19 hours ago, Wilton Ergon said:

    https://en.wikipedia.org/wiki/Spa#Origins_of_the_term

    unigui apps, uses SPA apps concept

    you can open forms in tabs within a pagecontrol, the usability is much better than having multiple browser tabs open.
    the way you want, each tab opened, a new session will be created on the server, and be sure this is a bad idea.

    I already have opened form in the tab, but some users want (optionally) open such window not in the soft tab but in the browser window or browser tab. Some users have two (or even more) physical monitors and is very convient to view same environment on the both monitors: one form on the first monitor and second form on the second, both forms within one unigui session. Unfortunatally I havn't found a solution. It seems that one session could not work in the two browser tabs/windows and such behaviour does not possible.

  5. Hi, I found an issue with use of this code:

    function afterrender(sender, eOpts) 
    {
        var me = sender;
        if (me.pagingBar) {
            me.pagingBar.getComponent("refresh").handler = function() {
                ajaxRequest(me, '_refresh', [])
            }
        }
    }

    It interferre with PagingToolbarResizer from this topic while open form:

    http://forums.unigui.com/?app=core&module=system&controller=content&do=find&content_class=forums_Topic&content_id=4210&content_commentid=73856

    JS Error: Cannot read properties of null (reading 'get')

    Does it possible to use both codes together? Thank you! Version 1551

  6. On 1/27/2020 at 11:32 PM, lcolombo said:

    Hi, 

    I'm using Unigui Version:1.90.0 build 1514 and I'm testing with the file attached to this post (http://forums.unigui.com/index.php?/topic/4210-pagesize-extension-for-unidbgrid/&do=findComment&comment=63430)

    http://forums.unigui.com/applications/core/interface/file/attachment.php?id=6620 7.73 kB · 48 downloads

    Regards,

     

    This example works for me, thank you! 1551 version.

×
×
  • Create New...