12 Replies Latest reply: Jul 11, 2014 10:49 AM by Yannick Durand RSS

    Use of qmem, info and bundle to use custom icons

    Alexis VAILLANT

      Hi All,

       

      I'm trying to use custom arrows and icons

       

      I'm trying to embed the files into the qvw using the following script

       

      Images:

      BUNDLE LOAD * INLINE [

      Img, Image

      sad, smile_sad_48.png

      grin, smile_grin_48.png

      ];

       

      then into an expression to call the icon like that

       

      =if($(var1)>$(var2), 'qmem://Img/smile_sad_48.png','qmem://Img/smile_grin_48.png')

       

      It does not work

       

      I changed the reference png to bundled ones an it works:

       

      =if($(var1)>$(var2), 'qmem://Img/smile_sad_48.png','qmem://<bundled>/BuiltIn/led_g.png')