Hide new image inserted before custom toolbar button

Stimulsoft Reports.JS discussion
Post Reply
mrapi
Posts: 277
Joined: Sat Dec 20, 2008 1:08 am

Hide new image inserted before custom toolbar button

Post by mrapi »

Hi,I've upgraded to latest version of Stimul(2019.3.4) but now just before a custom toolbar button is inserted a image,image is gone if I return to my previous version (2019.3.2):
Image
Image

button is added with this code:
viewtopic.php?f=27&t=55190&p=152642#p144859

how to hide that empty image
thanks
Lech Kulikowski
Posts: 6263
Joined: Tue Mar 20, 2018 5:34 am

Re: Hide new image inserted before custom toolbar button

Post by Lech Kulikowski »

Hello,

You should send additional parameter null
var userButton = viewer.jsObject.SmallButton("userButton", "My Button", null);

Thank you.
mrapi
Posts: 277
Joined: Sat Dec 20, 2008 1:08 am

Re: Hide new image inserted before custom toolbar button

Post by mrapi »

it is working.thanks
Lech Kulikowski
Posts: 6263
Joined: Tue Mar 20, 2018 5:34 am

Re: Hide new image inserted before custom toolbar button

Post by Lech Kulikowski »

Hello

We are always glad to help you!

Thank you.
Post Reply