Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 21st, 2003, 02:03 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default Tab Control Backcolor

In Access XP, a form's tab control's backcolor seems to be dictated by the display properties you choose for Windows in general. This is not good as my labels' forecolor may not be visible to everyone depending on their color choices. I would like to override this, pick a tab control backcolor, and make it stick; however, there's no Backcolor property for it. Can it be done?

The only other options I see are 1) telling people to choose colors wisely, or 2) set the tab control's Backstyle property to Transparent and place a colored rectangle object behind it. This still does not affect the actual tab colors, which insist on staying the color of the Windows setting even though the rest of the tab control is transparent.


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
__________________
Greg Serrano
Michigan Dept. of Environmental Quality
Air Quality Division
 
Old July 21st, 2003, 02:28 PM
Friend of Wrox
 
Join Date: Jul 2003
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Create a header and set the back color to -2147483647. The make your labels transparent and the fore color to 16777215. This way it will always use the system colors and the users will always be able to see the fonts.

HTH,

Beth
 
Old August 26th, 2004, 03:45 AM
Registered User
 
Join Date: Aug 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default


i NEED to eitha:
1)make da bak color of tha tab control transparent; or
2)change it to the color i'm using (Whitesmoke) for my forms

in VB.NET (not JavaScript, not ASP.NET:(, not php:( but VB!!!)
pleeeeeeeeeeeeeaaaaaaaaassssssssssss!!


help


 
Old February 21st, 2008, 04:34 PM
Registered User
 
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've spent several days looking at this problem and have designed a nice, simple, and effective way of dealing with this problem.

http://www.mvct.com/AccessCodeSamples.asp contains a source code sample and an ActiveX DLL you can use for this.






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable a tab on a tab control. dbradley VB.NET 6 April 14th, 2011 10:04 AM
Calendar Control with Tab Control Slicemahn Access 1 June 12th, 2006 10:35 PM
tab control.. gbianchi ASP.NET 1.0 and 1.1 Basics 0 April 5th, 2006 09:12 AM
Tab control Bhanu VS.NET 2002/2003 2 March 6th, 2005 04:12 AM
Tab Control Bhanu .NET Framework 2.0 1 December 2nd, 2004 07:25 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.