Page 1 of 1

Transparent background JQRegion

PostPosted: 13 Mar 2014 16:02
by Davide
Hello,

I'm working on a form that has a JQRegion aligned alClient with a gradient background and others JQRegions inside it.
The contained JQRegion are created at runtime and async rendered.
Is it possible to set a transparent background for the runtime created JQRegion ?
(Probably is something about set the opacity = 0 in a JQRegion but I don't know where to define it...)

Thank you,
Davide

Re: Transparent background JQRegion

PostPosted: 13 Mar 2014 16:13
by Alexander Bulei
Hi Davide,

You have 2 ways to do this:

1st - Changing the default value of JQRegion.Css:

delphi code
JQRegion.Css:= 'ui-widget';


"'ui-widget-content" is a jquery theme css class and give defined background in theme to control.

2nd - Using the JQRegion.Style property:

13-03-2014 15-13-33.png


Best Regards.

Re: Transparent background JQRegion

PostPosted: 13 Mar 2014 16:45
by Jorge Sousa
Also setting inlinestyle to background:transparent

is the same as setting Color = clWebTransparent