Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Transparent
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Transparent

 Post Reply Post Reply
Author
Message
Source View Drop Down
Senior Member
Senior Member


Joined: 19 June 2006
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote Source Quote  Post ReplyReply Direct Link To This Post Topic: Transparent
    Posted: 13 April 2009 at 10:24am
How to make it transparent? In this case form background has a gradient color.
 
Product: Xtreme SuitePro (ActiveX) version 13.1.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2009 at 12:23pm
Hi,
Most easy way is to use our TabControlPage as background - out TabControl to TabControlPage and set picture property of TabControlPage.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Source View Drop Down
Senior Member
Senior Member


Joined: 19 June 2006
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote Source Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2009 at 12:59pm
Gradient background is not a picture - sorry forgot to mention it
 
I use a function based on CreateSolidBrush, DeleteObject (Lib gdi32) and FillRect (Lib user32) to create the gradient background.
 
regards.
Product: Xtreme SuitePro (ActiveX) version 13.1.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0
Back to Top
DaveB View Drop Down
Groupie
Groupie


Joined: 13 March 2009
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveB Quote  Post ReplyReply Direct Link To This Post Posted: 13 April 2009 at 11:45pm
I asked about setting the background color of the tab control a couple days ago but didn't receive an answer.  I guess this gives me a way to accomplish what I need to do but it seems like a workaround that should be unnecessary if there was some kind of a Transparent property for the tab control that would show the form background next to the tabs.  Please add that to the wish list.
 
DaveB
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2009 at 12:48am
Hi,
 
Create new picture, fill with Gradient background and set to TabControlPage.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Source View Drop Down
Senior Member
Senior Member


Joined: 19 June 2006
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote Source Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2009 at 6:47am
If someone want to give it a try/solution...
 
Product: Xtreme SuitePro (ActiveX) version 13.1.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2009 at 8:21am
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2009 at 8:35am
Hi,
 
My guess is like this:
 
 
 
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....
Back to Top
Source View Drop Down
Senior Member
Senior Member


Joined: 19 June 2006
Status: Offline
Points: 103
Post Options Post Options   Thanks (0) Thanks(0)   Quote Source Quote  Post ReplyReply Direct Link To This Post Posted: 14 April 2009 at 10:07am
Thanks
Product: Xtreme SuitePro (ActiveX) version 13.1.0
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0
Back to Top
DaveB View Drop Down
Groupie
Groupie


Joined: 13 March 2009
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote DaveB Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2009 at 12:55pm
This solution is really just a workaround that only works for some of the Appearance and Color settings.  For example, if you want to use the xtpTabAppearancePropertyPageAccess2007 style (the one I like the best), it doesn't work.  Nor does it work for xtpTabAppearancePropertyPage2003 with a Color setting of xtpTabColorOffice2007 (my second favorite). 
 
What the tab control really needs is an additional property, TabBackgroundSeeThru  (I'm trying to keep it short - maybe TabSeeThru or TabTransparent) setable to True or False that would allow the surrounding background to show through no matter what Appearance or Color is selected.
 
Can this be put on the Wish List?  (Can it be implemented and made available to everyone by the end of next week?  )
 
DaveB
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.