Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Overlay dynamic image(Overlay dynamic image)
Overlay dynamic image [message #675838] Wed, 01 June 2011 12:40 Go to next message
Pico  is currently offline Pico
Messages: 2
Registered: June 2011
Junior Member
Hi,

I´m working at 2.6. 0 and I need to overlay a dynamic image (i know the path of the image by parameter).

I try to put the image like a cell background, but i don´t know how i can do it with a dynamic image.

and put a image over a text ? is possible ?

Any idea?


Thanks in advance.
Re: Overlay dynamic image [message #675869 is a reply to message #675838] Wed, 01 June 2011 14:49 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

On a cell's onCreate event you can put code in like:

if( params["dynamicimage"].value == true ){
this.getStyle().backgroundImage =
"http://www.google.com/intl/en_ALL/images/srpr/logo1w.png";
this.getStyle().backgroundRepeat ="no-repeat";
}else{
"http://www.eclipse.org/eclipse.org-common/themes/Nova/images/eclipse.png";
}

Jason

On 6/1/2011 12:40 PM, Pico wrote:
> Hi,
> I´m working at 2.6. 0 and I need to overlay a dynamic image (i know the
> path of the image by parameter).
>
> I try to put the image like a cell background, but i don´t know how i
> can do it with a dynamic image.
>
> and put a image over a text ? is possible ?
>
> Any idea?
>
> Thanks in advance.


Jason Weathersby

BIRT Exchange
Re: Overlay dynamic image [message #676039 is a reply to message #675869] Thu, 02 June 2011 11:14 Go to previous message
Pico  is currently offline Pico
Messages: 2
Registered: June 2011
Junior Member
Thanks ! It`s OK.
Previous Topic:Export Data - Available Columns
Next Topic:SEVERE: CREATE_EXTENSION_FAIL
Goto Forum:
  


Current Time: Sat Apr 19 13:27:28 EDT 2014

Powered by FUDForum. Page generated in 0.02725 seconds