CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Transparent background JQRegion

by Davide » 13 Mar 2014 16:02

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
Davide
 
Posts: 150
Joined: 14 Oct 2013 11:33

by Alexander Bulei » 13 Mar 2014 16:13

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.
You do not have the required permissions to view the files attached to this post.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Jorge Sousa » 13 Mar 2014 16:45

Also setting inlinestyle to background:transparent

is the same as setting Color = clWebTransparent
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to JQRegion

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.