Page 1 of 1

Changes the background color of a item in the thumbnail list

Posted: Mon Oct 12, 2015 10:55 pm
by gtoledo
Hi,

I am developing a web application with JavaScript and want to change the background color of an element of the thumbnail list. I tried the following and still do not succeed:

Code: Select all


 oGdThumbnailEx.SetItemBackgroundColor(1, 'red');

 oGdThumbnailEx.SetItemBackgroundColor(1, rgb(255, 0, 0));

 oGdThumbnailEx.SetItemBackgroundColor(i, 255);

 oGdThumbnailEx.SetItemBackgroundColor(i, #FF0000);


Re: Changes the background color of a item in the thumbnail

Posted: Thu Oct 15, 2015 6:30 pm
by gtoledo
¿any comments?

Re: Changes the background color of a item in the thumbnail

Posted: Tue Oct 20, 2015 6:15 pm
by gtoledo
I am using the ARGBI function and not have results!

The following error message is displayed:
object doesn't support property or method 'SetItemBackgroundColor'

Code: Select all

var RedColor = oGdImaging.ARGBI(255, 255, 0, 0);

oGdThumbnailEx.SetItemBackgroundColor(1, RedColor);